This document provides information about the related Acquia Optimize check:
An image button must have an accessible name that clearly describes its purpose.
Users who cannot see the image on a button or icon rely on its accessible name to understand its purpose. The accessible name is conveyed through assistive technologies, such as screen readers, which may read the name aloud to users. Without clear labels like "Search" or "Add to Wishlist," users can become confused, make mistakes, or fail to complete tasks.
Fatima is a 33-year-old woman from Morocco who lost her sight at the age of 12 due to a degenerative eye condition. She works as a radio presenter for a local station in Casablanca, focusing on social and cultural issues.
"It really annoys me when I use music websites and the features meant to make things easier just make it harder for me. I was trying to organize my playlist, but the buttons just said 'Move' without telling me if I was moving the song up or down. These tools are supposed to help us customize and enjoy the platform, but when they do not work for me, it feels like I am being left out. It is such a small thing to fix, but it would save me so much time and frustration."
This section provides some examples of the issue.
On some image buttons, the accessible names describe the visual content of the image but fail to communicate the function:
Button | Accessible Name |
---|---|
Magnifying glass | "Magnification glass" |
Floppy disk | "Floppy disk" |
Pencil | "Pencil" |
Envelope | "Envelope" |
While these names reflect the images, they do not provide information about the actions the buttons perform, such as "Search," "Save," "Edit," or "Send." This can create barriers for website visitors who use assistive technologies.
On some image buttons, the accessible names are crafted to clearly describe their function. This ensures that visitors can easily understand the actions that the buttons perform.
Button | Accessible Name |
---|---|
Magnifying glass | "Search" |
Floppy disk | "Save" |
Pencil | "Edit" |
Envelope | "Send" |
These accessible names provide users, including those relying on assistive technologies, with meaningful descriptions of the button functions. This helps users interact and navigate effectively and improves the overall accessibility of the page.
This section provides instructions on how to review the issue.
The Acquia Optimize platform identifies image buttons on your site that have an accessible name defined in the code.
Evaluate the accessible name to determine if it accurately describes the function of the button.
Tip: Use the web browser developer tools to see the accessible name that is assigned to an image button.
In Chrome, follow these steps:
For instructions, see the user guide article:
How to review an accessibility issue.
WCAG success criteria
If this content did not answer your questions, try searching or contacting our support team for further assistance.
Fri Dec 20 2024 12:31:30 GMT+0000 (Coordinated Universal Time)