Toot by Adrian RoselliAdrian Roselli (toot.cafe)

Read-only buttons: Because two or more "main" elements on a page just wasn't enough.

6 thoughts on “

  1. @acarson @aardrian yeah that. Been thinking of how to vocalize my thoughts on this since I saw it, but in all cases it’s a hard no. We don’t need another confusing role to add to elements, developers already do a great job at doing that when they combine something as a “button link” or use multiple roles not realizing only one will be applied, the rest are more of a fallback. Putting a disabled button into tab order optionally with aria-describedby works well enough, too.

  2. @acarson @aardrian I do think they have valid concerns with disabled button instructions that only show on hover, but again, you can work with that by making sure developers know to show it when it receives keyboard focus, or do the text thing next to it which is cognitively worse, could be argued. Either way we’re not out of options for solving it and making a new role will just complicate and muddle things up even more for sure.

    Reposts

  • User Avatar ♻️ Robert Kingett on hiatus

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.