Alt text should be added to every image, but if there is a space in the alt text content, a screen reader will skip over it.
If alt text does not exist at all, the screen reader will read out the title of the image which is not ideal.
Proposed Resolution
Describe the solution you'd like
Final solution to be determined.
Describe alternatives you've considered
There are a number of options we could use to help this issue.
The alt text field could allow as a valid text input
There could be a checkbox to mark the image as "decorative" which puts the space in the alt text field.
There could be a in the alt text field by default.
Regardless of solution, help text on the alt text field should be added so more context is provided to the content editor.
Additional context
Add any other context or screenshots about the feature request here.
We haven’t installed the module or tested it, and it brought up some additional discussion topics like:
making the alt text field optional might result in editors skipping that field or marking everything decorative rather than using proper alt text.
Alt text can be context dependent, so if an editor marks an image decorative in one instance, that alt text property would apply anywhere else that image is used, which may not be proper depending on the context.
Motivation
I want to add imagery to my website and be able to identify it appropriately with alt text.
Is your feature request related to a problem? Please describe.
Currently, the alt text field is required but there is not a way to indicate the image as decorative. Identified in this PR: https://github.com/az-digital/az_quickstart/pull/3610#issuecomment-2293887879
Alt text should be added to every image, but if there is a space in the alt text content, a screen reader will skip over it. If alt text does not exist at all, the screen reader will read out the title of the image which is not ideal.
Proposed Resolution
Describe the solution you'd like
Final solution to be determined.
Describe alternatives you've considered
There are a number of options we could use to help this issue.
Regardless of solution, help text on the alt text field should be added so more context is provided to the content editor.
Additional context
Add any other context or screenshots about the feature request here.