nyastodon/app/javascript/styles/mastodon
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
..
_mixins.scss Make theme directory and Rename application.scss (#5336) 2017-10-18 05:20:07 +09:00
about.scss ReFix font-weight of <strong> element for CJK fonts (#5920) 2017-12-07 21:35:19 +01:00
accounts.scss Fix font-weight of <strong> element for CJK fonts (#5914) 2017-12-07 16:01:52 +01:00
admin.scss Fix overflowing audit logs (#6184) 2018-01-04 19:38:46 +01:00
basics.scss Make theme directory and Rename application.scss (#5336) 2017-10-18 05:20:07 +09:00
boost.scss Make theme directory and Rename application.scss (#5336) 2017-10-18 05:20:07 +09:00
compact_header.scss Make theme directory and Rename application.scss (#5336) 2017-10-18 05:20:07 +09:00
components.scss Fix column headers accessibility (#6199) 2018-01-15 04:33:06 +01:00
containers.scss Make theme directory and Rename application.scss (#5336) 2017-10-18 05:20:07 +09:00
emoji_picker.scss Fix emoji picker scrollbar (regression from #5046) (#5901) 2017-12-06 12:18:27 +01:00
footer.scss Make theme directory and Rename application.scss (#5336) 2017-10-18 05:20:07 +09:00
forms.scss Fix font-weight of <strong> element for CJK fonts (#5914) 2017-12-07 16:01:52 +01:00
landing_strip.scss Fix font-weight of <strong> element for CJK fonts (#5914) 2017-12-07 16:01:52 +01:00
lists.scss Make theme directory and Rename application.scss (#5336) 2017-10-18 05:20:07 +09:00
modal.scss Show mastodon on modal (#6129) 2018-01-02 05:07:56 +01:00
reset.scss Make theme directory and Rename application.scss (#5336) 2017-10-18 05:20:07 +09:00
rtl.scss Fix layout for RTL (#6014) 2017-12-13 18:28:13 +01:00
stream_entries.scss Fix font-weight of <strong> element for CJK fonts (#5914) 2017-12-07 16:01:52 +01:00
tables.scss Fix font-weight of <strong> element for CJK fonts (#5914) 2017-12-07 16:01:52 +01:00
variables.scss ReFix font-weight of <strong> element for CJK fonts (#5920) 2017-12-07 21:35:19 +01:00