hometown/app/assets/javascripts/components
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
..
actions Add hasMore field to account timeline (#2066) 2017-04-18 13:10:49 +02:00
components Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
containers Remove deprecated features at React v15.5 (#1905) 2017-04-21 20:05:35 +02:00
features Improve aria support - Columns and Navigation Drawer Icons (#2299) 2017-04-22 17:30:35 +02:00
locales Added strings for emoji category localization (#2302) 2017-04-22 17:28:36 +02:00
middleware Add eslint-plugin-jsx-a11y (#1651) 2017-04-15 13:27:27 +02:00
reducers Put space before image (#1735) 2017-04-21 20:06:25 +02:00
selectors Avoid re-loading already loaded relationships. Also fixes issue where wrong 2017-04-02 22:02:38 +02:00
store Replace howler.js with simple <audio />, will hopefully resolve 2017-03-13 17:12:30 +01:00
.gitkeep Adding React.js, Redux, revamping dashboard 2016-08-24 17:56:44 +02:00
api.jsx Fix #1491 - Fix broken notifications, broken Link header parsing for exclude_types (#1548) 2017-04-11 22:53:58 +02:00
emoji.jsx Improve emojis - use SVGs where possible 2017-03-29 22:27:24 +02:00
is_mobile.jsx Try to detect iOS and *not* autoplay any videos 2017-03-07 09:54:57 +01:00
link_header.jsx Add eslint-plugin-jsx-a11y (#1651) 2017-04-15 13:27:27 +02:00
rtl.jsx Fix #186 - Add RTL support to the compose form textarea and statuses output 2017-02-28 01:52:31 +01:00
stream.jsx Send initial state in a <script type="application/json"> tag (#1806) 2017-04-15 02:32:42 +02:00