Change decorative image from error to warning

Created on 12 August 2024, 4 months ago
Updated 9 September 2024, 3 months ago

When a decorative image is added to a page, users enter "" because alternative text is required for all images. Editoria11y is currently flagging this as an error. It would be good if this were a warning so it can be dismissed. Currently Wave flags these as warnings.

✨ Feature request
Status

Closed: works as designed

Version

2.1

Component

Feature and test requests

Created by

πŸ‡ΊπŸ‡ΈUnited States yojohnyo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @yojohnyo
  • πŸ‡ΊπŸ‡ΈUnited States itmaybejj

    What is the markup being output? If all is working correctly:

    • no alt attribute: error, missing alt. Screen reader behavior varies, but generally speaks filename or file url.
    • alt="" (empty quotes): warning/manual check for decorative image. Screen reader ignores image.
    • alt="""" (quotes containing quotes): error, because this is not marked decorative, but rather is technically valid alt text made of quote characters. Screen reader announces that there is an image, but just makes an awkward silence when it reads the alt as it iterates through characters it does not pronounce.
  • Status changed to Closed: works as designed 3 months ago
  • πŸ‡ΊπŸ‡ΈUnited States itmaybejj

    I'm closing this for now as it is working as designed; please re-open if I have misinterpreted.

Production build 0.71.5 2024