Epic #75567: Accessibility: As an editor I want to create accessible content which passes the accessiblity tests from WCAG 2.0.
File links: I want to create file-links with type “folder from storage” and I want to show thumbnails
As an editor I want to create file-links with type “folder from storage” and I want to show thumbnails
Acceptance Criteria:A warning is displayed
- if no alt-text is given - text: “An image must have an alt text if it is not decorative only”
- if the alt-text includes the filename - “The alt text must not include the filename”
- if the alt text has more than 100 characters - “The alt text must not be longer than 100 characters.
The warning contains the WCAG rule and a direct link to the explanation of the rule (WCAG rule 1.1.1 - Level A - https://www.w3.org/WAI/WCAG20/quickref/?showtechniques=11%2C111#text-equiv)
Technical Description / Additional Information:
The alt attribute can only be entered in the metadata of the file, it has to be checked whether this is filled.