[openstreetmap/openstreetmap-website] Add accesskeys/mnemonics to important links (#504)
Andy Allan
notifications at github.com
Wed Feb 22 15:50:22 UTC 2023
I realise that this PR is approaching its 10 year anniversary, so I feel I should step in and review it before it gets there! :smile:
I've conducted some research into access keys and their current state of play in web browsers. In particular, given the lack of discoverability, one concern of mine is around what keys should be used for different functions. For example, 'h' for History makes sense, but only in English. 'o' for Login makes sense only if it's a common convention. 't' for Layers would be quite unintuitive for me.
There's also a bunch of technical things around conflicts with screenreaders and other accessibility browsers, and the current situation with accesskeys seems unclear to me without a lot more personal research. So I'm going to pick out this quote from [the MDN documentation on accesskeys](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey):
> Because of these issues, it is generally advised not to use accesskeys for most general-purpose websites and web apps.
We'll continue our work on making sure that the site is fully keyboard accessible, of course, but I'm going to decline this proposal for access keys. Thanks @simon04 for the proposal and your patience.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/504#issuecomment-1440291631
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/504/c1440291631 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230222/0e4b2664/attachment.htm>
More information about the rails-dev
mailing list