Closed Rajdeepc closed 1 month ago
Progress-bar
On tab stop on sp-progressbar, screen readers should be able to pickup the element content
sp-progressbar
No tab stop on sp-progressbar
No response
Firefox, Chrome, Safari, Microsoft Edge
Tab
protected override firstUpdated(changes: PropertyValues): void { super.firstUpdated(changes); if (!this.hasAttribute('role')) { this.setAttribute('role', 'progressbar'); } // this needs to be added if (!this.hasAttribute('tabindex')) { this.setAttribute('tabindex', '0'); } }
@Rajdeepc this should be done with aria-live not a tabindex as progressbars are not interactive
aria-live
tabindex
Closing this since aria-live should take care of this! https://www.magentaa11y.com/checklist-web/progress/
Code of conduct
Impacted component(s)
Progress-bar
Expected behavior
On tab stop on
sp-progressbar
, screen readers should be able to pickup the element contentActual behavior
No tab stop on
sp-progressbar
Screenshots
No response
What browsers are you seeing the problem in?
Firefox, Chrome, Safari, Microsoft Edge
How can we reproduce this issue?
Tab
Sample code that illustrates the problem
Logs taken while reproducing problem
No response