catstodon/app/assets/javascripts/components/features
Stephen Burgess 4cfc155560 Improve aria support - Columns and Navigation Drawer Icons (#2299)
* feat(aria): Add aria-labels to underlabelled tab nav items

The drawer tabs which control primary navigation are only labelled by a title which is not available to many screenreaders. Add an aria-label attribute to each link to improve readability with screenreaders. Organize link attributes so link target is first followed by classname.
Issue #1349

* feat(aria): Replace abstract aria role of section with region

Abstract aria roles such as section should not be used in content. Use non-abstract 'region' aria role instead. That role expects an aria-labelledby attribute with an id. Pass an ID to the column header. Remove the aria-label attribute on the ColumnHeader because the same value is output in plaintext as its child.
Issue #1349

* fix(aria): Remove aria-controls attribute until solution is found

Columns do not have wrappers, so these icons can't point to a column wrapper which it controls. Instead these icons function as triggers to show or hide individual columns.
#1349

* fix(typo): Remove type of aria-labelledby instead of aria-label
2017-04-22 17:30:35 +02:00
..
account/components Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
account_timeline Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
blocks Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
community_timeline Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
compose Improve aria support - Columns and Navigation Drawer Icons (#2299) 2017-04-22 17:30:35 +02:00
favourited_statuses Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
favourites Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
follow_requests Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
followers Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
following Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
generic_not_found Add "not found" component to UI 2017-01-10 13:50:59 +01:00
getting_started Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
hashtag_timeline Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
home_timeline Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
mutes Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
notifications Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
public_timeline Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
reblogs Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
report Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
status Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
ui Improve aria support - Columns and Navigation Drawer Icons (#2299) 2017-04-22 17:30:35 +02:00