Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #60811, comment 2


Ignore:
Timestamp:
03/20/2024 05:34:45 PM (7 months ago)
Author:
audrasjb
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60811, comment 2

    initial v1  
    1 Adding `accessibility` focus and `close as wontfix` suggestion given this it the way it should work: the alternative text of an image should never be defined globally but rather independently on each occurrence, since this alt text could be different for each occurence of the image. Sometimes, an image can be illustrative (empty alt text needed) and sometimes it can convey a meaning (descriptive alt text needed).
    2 Also, the meaning can of course be different depending on the context. For instance, when the image is directly wrapped by a link, the alt text must describe the target of the link, not the image.
     1Hello and welcome to WordPress Core Trac!
     2
     3Adding `accessibility` focus and `close as wontfix` suggestion given this it the way it should work: the alternative text of an image should never be defined globally but rather independently on each occurrence, since this alt text could be different for each occurence of the image.
     4
     5Sometimes, an image can be illustrative (empty alt text needed) and sometimes it can convey a meaning (descriptive alt text needed).
     6
     7Also, the meaning can of course be different depending on the context.
     8
     9For instance, when the image is directly wrapped by a link, the alt text must describe the target of the link, not the image.
     10
     11To summarize, this is done on purpose, for the sake of accessibility.