Steps: Invalid and unnecessary tablist role structure #15099
Labels
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
LTS-16-PORTABLE
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
Discussed in https://github.com/orgs/primefaces/discussions/1436
https://primeng.org/steps
Step container element (ul[role="tablist"]) has children which are not allowed: li[role=presentation]. The tablist role seems to have been included since the first version of the component, so it may not been considered from the accessibility perspective.
In the primeVue and primeReact
<ol><li><a>
structure without tablist role is used.Environment
Chrome
Reproducer
https://primeng.org/steps/personal
Angular version
17.0.0
PrimeNG version
17.11.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.16.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: