about summary refs log tree commit diff
path: root/Vagrantfile
diff options
context:
space:
mode:
authorNolan Darilek <nolan@thewordnerd.info>2018-01-04 10:25:26 -0600
committerNolan Darilek <nolan@thewordnerd.info>2018-01-04 10:25:26 -0600
commit3b016342c6102f098f098f8a1ffd9fcf464e566a (patch)
tree51b2f4701ef8fd04f23acb455d5820b279b3ea99 /Vagrantfile
parent3c189642561f27925803448059e212718e4a2497 (diff)
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!
Diffstat (limited to 'Vagrantfile')
0 files changed, 0 insertions, 0 deletions