Skip to content

Commit

Permalink
Accessibility fixes to dynamic tabs (aria-selected, remove dynamic …
Browse files Browse the repository at this point in the history
…tabs with dropdowns)

* Use `aria-selected` instead of `aria-expanded`
* Change tab.js to use `aria-selected` rather than `aria-expanded`
* Add `aria-orientation=vertical` to vertical tab list
* Remove dynamic tabs with dropdowns
* Fix non-interactive code examples
* Only set `aria-selected` on the `role="tab"` trigger - this stops `aria-selected` being incorrectly added to the `role="tabpanel"` itself (probably harmless, but nonetheless incorrect)
  • Loading branch information
patrickhlauke authored Sep 24, 2017
1 parent d33b26d commit fd56ea3
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 121 deletions.
Loading

0 comments on commit fd56ea3

Please sign in to comment.