TechFeed
  • playlist_add_check Channels

Why role="button" on a button does nothing
DRANK

Why adding role=button to a native button has no effect, how the specification defines this behaviour, and what it teaches us about when ARIA should and shouldn’t be used.

maxdesign.com.au 5 months ago
Related Topics:
arrow_back
open_in_new Open page
https://www.maxdesign.com.au/articles/role-button.html
  • Blog
  • Frequently Asked Questions
  • Feedback
  • Terms of service
  • Privacy Policy
  • Posting guidelines
  • Special thanks
  • About Company
© 2026 Hajimari Inc.