w3c / wcag

Web Content Accessibility Guidelines
https://w3c.github.io/wcag/guidelines/22/
Other
1.14k stars 257 forks source link

Clean up instructions paragraphs #3918

Closed kfranqueiro closed 2 months ago

kfranqueiro commented 5 months ago

Many pages still contain <p class="instructions>...</p> markup, which originates from the template HTML files and is intended to be replaced. Any such paragraphs found by the build system are automatically removed.

Some pages have instructions paragraphs that are either completely empty or still contain the template boilierplate; these are fine to remove.

Other pages, however, seem to have actual information intended to be displayed in these paragraphs, which should instead have only class="instructions" removed.

To illustrate, G211.html contains examples of both cases; the ones beginning with "Provide" are boilierplate that can be completely removed, while the others are currently being dropped from the build but are probably intended to be included.