Accessibility: "Very small text" in sitemap.xml XSL transform

Created on 7 February 2023, almost 2 years ago
Updated 19 July 2024, 5 months ago

Problem/Motivation

Our accessibility testing tool (Pope Tech, which under-the-covers, uses WebAim) is showing a warning when scanning sitemap.xml

Very small text

What it means
Text is very small.

Why it matters:
Text which is very small is difficult to read, particularly for those with low vision.

How to fix it:
Increase the text to a more readable size.

This issue has been classified as a bug, instead of a feature request per Drupal's Accessibility statement page :

The Drupal community tries to fix accessibility issues in the development process. Everything is documented in the issue queue, and tagged for accessibility. Our community has decided that accessibility is essential. In Drupal 7, the community decided to see accessibility barriers as bugs, rather than feature requests. This resulted in us raising awareness and changing the culture of the community.

Steps to reproduce

Run WebAim Wave tool against /sitemap.xml in browser.

Proposed resolution

Effectively, the 8pt font size used in the table is considered too small.

Suggestion is to remove font-size in the stylesheet to let the browser set the default size.

Remaining tasks

  • Write patch

User interface changes

N/a

API changes

N/a

Data model changes

N/a

📌 Task
Status

Fixed

Version

4.0

Component

Code

Created by

🇪🇨Ecuador jwilson3

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024