1
0
Fork 1
forked from fedi/mastodon
mastodon/app
Gô Shoemake 08e4c78e78 Fix column headers accessibility (#6199)
* Fix accessibility of column headers

As a screen reader user new to Mastodon, I encountered the following issues with the column headers as designed:
 * Jumping between them was difficult. FOr instance, passing my home timeline to reach notification settings was difficult to impossible, especially considering infinite scrolling.
 * There doesn't appear to be any means for triggering the control via the keyboard. the `titleClick` handler only responds to mouse clicks.
 * I didn't even realize there was a Settings toggle until I made this change.

Thanks for using ARIA in your designs. It's a huge help. But adding a `button` role doesn't add keyboard handling and other button behavior. Also, because the role was on the heading container, it obscured the controls within the container itself. This fix resolve that. It also exposes the headings as headings rather than buttons, enabling skipping columns by using screen readers' heading navigation commands.

Since I myself am blind, if this fix requires additional visual styling, I'd like help applying that so it can be merged. I'd consider it an essential accessibility fix for my and other blind users' existence on the platform. Thanks!

* Styling fixes

* Fixed overflow issue
2018-01-15 04:33:06 +01:00
..
controllers Refactor /api/web APIs to use the centralized axios instance (#6223) 2018-01-08 20:01:33 +01:00
helpers Fix bad URL schemes being accepted (#6219) 2018-01-08 05:00:23 +01:00
javascript Fix column headers accessibility (#6199) 2018-01-15 04:33:06 +01:00
lib Skip ActivityPub Announces of non-public objects (#6230) 2018-01-09 19:35:10 +01:00
mailers Add confirmation step for email changes (#6071) 2018-01-02 16:55:00 +01:00
models Revert #5772 (#6221) 2018-01-08 10:57:52 +01:00
policies Allow admin to deactivate invite created by users (#5860) 2017-12-01 12:26:19 +01:00
presenters Using double splat operator (#5859) 2017-12-06 11:41:57 +01:00
serializers Revert #5772 (#6221) 2018-01-08 10:57:52 +01:00
services Fix bad URL schemes being accepted (#6219) 2018-01-08 05:00:23 +01:00
validators Limit users to 50 lists, remove pagination from lists API (#5933) 2017-12-09 01:32:29 +01:00
views Handle sessions that can't be translated (#6245) 2018-01-12 02:44:28 +01:00
workers Fix PuSH workers (#6200) 2018-01-05 23:04:35 +01:00