You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
7 years ago
..
controllers Refactor /api/web APIs to use the centralized axios instance (#6223) 7 years ago
helpers Fix bad URL schemes being accepted (#6219) 7 years ago
javascript Fix column headers accessibility (#6199) 7 years ago
lib Skip ActivityPub Announces of non-public objects (#6230) 7 years ago
mailers Add confirmation step for email changes (#6071) 7 years ago
models Revert #5772 (#6221) 7 years ago
policies Allow admin to deactivate invite created by users (#5860) 7 years ago
presenters Using double splat operator (#5859) 7 years ago
serializers Revert #5772 (#6221) 7 years ago
services Fix bad URL schemes being accepted (#6219) 7 years ago
validators Limit users to 50 lists, remove pagination from lists API (#5933) 7 years ago
views Handle sessions that can't be translated (#6245) 7 years ago
workers Fix PuSH workers (#6200) 7 years ago