Page Title: My lc khng kh OEM / ODM, my lc nc, my lm nc hydro
August 21, 2021 01:45

Alt text must not include filename

Actions

Severity Action
no actions
Hidden One image element that is hidden was not evaluated.

Details

Rule ID Image 3
Definition The source filename of the image element must not be part of its text alternative.
Purpose
  • A text alternative should summarize the purpose of an image for people with visual impairments.
  • The source filename of the image should not be included because generally it is not useful information.
  • An image with a text alternative that is an empty string is ignored by assistive technologies, and indicates that it is being used for styling purposes rather than meaningful content.
WCAG Success Criteria

1.1.1 Non-text Content (Level A, Primary Success Criterion)

Rule Category Images
Scope Element
Target Resources img, area and [role="img"] elements
  • img
Techniques
  • A text alternative should describe the purpose of an image as succinctly as possible (preferably with no more than 100 characters). Do not include the source filename as part of the text content.
  • The alt attribute is the preferred and most commonly used way to provide a text alternative for img and area elements.
  • The aria-labelledby attribute can be used to provide a text alternative when images can be described using text already associated with the image, such as a visible caption, or for elements with role="img".
  • The aria-label attribute should only be used to provide a text alternative in the special case when an element has a role="img" attribute.
  • The title attribute will be used by assistive technologies to provide a text alternative if no other specification technique is found.
Informational Links

Element Results

Element Identifier Result Element Position Message

Column Definitions

Element Identifier
Information about the element associated with the result.
The information typically includes the tag name, accessible name or other information related to the rule requirements.
"Page" means that the result applied to the page. For example, the rule "One main landmark on the page" is a page level rule.
Element Position
The element position is based on the DOM order of elements in the page.
The element position maybe useful in helping to locate a specific element on the page evaluated (e.g smaller numbers are typically toward the beginning of a page and larger numbers typically toward the end of a page).
Element position 1 is the first element.
The highest element position is the last element.
Element position values for most rule/page results will not be consecutive since a rule only applies to a sub set of elements found on a page.