react-spectrum
d7547a9c - fix(#1236) Tabs updates per accessibility audit (#1237)

Commit
5 years ago
fix(#1236) Tabs updates per accessibility audit (#1237) * fix(#1236) Tabs updates per accessibility audit 1. Container element with role="tablist" should not have a tabIndex attribute. 2. Container element with role="tablist" should not have the aria-disabled attribute. role="tab" elements that are not disabled should not include aria-disabled="false". 3. Selected and not disabled role="tab" element should have tabIndex={0} by default when the tablist initializes. 4. Add aria-label to storybook examples, so that screen readers do not announce the full tablist content as context when focus enters the tablist. Co-Authored-By: Robert Snow <rsnow@adobe.com> * fix(#1236) Tabs accessibility: Tablist should have aria-orientation * Merge remote-tracking branch 'adobe/main' into a11y-tabs Co-authored-by: Robert Snow <rsnow@adobe.com>
Author
Michael Jordan
Parents
Loading