WordPress.org

Ready to get started?Download WordPress

Forums

Putting an accessky in a menu item (5 posts)

  1. jouielovesyou
    Member
    Posted 1 month ago #

    I would like to add an accesskey to the home link only in my menu but I don't know how to do it or if it's possible. Any help would be appreciated.

  2. RossMitchell
    Member
    Posted 1 month ago #

    Not sure what "accesskey" is ? Can you show an example ? More details please ?

  3. Joe Dolson
    Member
    Posted 1 month ago #

    I strongly suggest that you not use the accesskey attribute; it can cause significant accessibility barriers on a web site for most users. As well-intentioned as the accesskey attribute was, in practical use users of screen readers are dependent on a large volume of quick key shortcuts, and using an accesskey will usually break one of those shortcuts.

    I suggest you read this summary of the issues with accesskeys for accessibility.

  4. jouielovesyou
    Member
    Posted 1 month ago #

    Hello. Thanks for that. I am blind myself so my initial intention was to make it easier for users who use a screen reader to navigate my site. I've read the article and yes, they have a point. So I think I have to drop the idea about the accesskey for the home link.

  5. Joe Dolson
    Member
    Posted 1 month ago #

    Yes, accesskeys are a great idea in principle, but have a lot of problems when it comes to actually using them. Thanks for reading the article and reconsidering!

Reply

You must log in to post.

About this Topic