Tab Menu: Add role to ink bar #3583
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the bug
The Tab Menu component has a WCAG SC 1.3.1 failure found here:
primevue/components/tabmenu/TabMenu.vue
Line 37 in b23b314
When running Axe Dev Tools on any Tab Menu two errors are seen both sighting a failure of SC 1.3.1. By adding the
role="presentation"
to the inkbar this error should be resolved.Proposed Fix
<li role="presentation" ref="inkbar" class="p-tabmenu-ink-bar"></li>
PrimeVue version
3.22.4
Vue version
3.x
Language
TypeScript
The text was updated successfully, but these errors were encountered: