Questions & Answers
Should “Download” components be buttons or links?
My website has a component used for downloading files. Should I code it as a button or a link?
- aria roles
- buttons
- download
- Link
Should inputs and buttons have the same focus state?
Should text input text focus state be the same as buttons keyboard focus state?
- buttons
- color contrast
- focus
- text input
Should “Sign Up” fields be links or buttons?
I have an element on my page that allows users to sign in to their account. It both takes a user to a new page AND submits a form, so should it be coded as a link or a button?
- buttons
- links
What Are the Code Differences between Links vs Buttons?
Where can I find code (html, css, and javascript) examples of links vs buttons.
- buttons
- html
- links
What keyboard functions need to be compatible with a button?
I was told that my buttons need to be operable by the spacebar. Is that true? Are there any other keys that need to be supported?
- buttons
- keyboard
- keyboard support
Is it OK to have a link that looks like a button?
I come across a long of links that look like buttons. Is this OK from an accessibility standpoint?
- buttons
- links
How can I make an image act as a button?
I am curious about how to make an image act as a button and ensure it's accessible. Any guidance?
- buttons
- images