Skip to content

Conversation

@Nayab-Gauhar
Copy link

Fixes #5411

Summary

Updated all outdated WCAG 2.0 references to WCAG 2.2 in the accessibility documentation page.

Changes

  • Updated text from "WCAG 2.0 website" to "WCAG 2.2 website"
  • Updated WCAG documentation links:
    • https://www.w3.org/TR/WCAG20/https://www.w3.org/TR/WCAG22/
    • https://www.w3.org/TR/UNDERSTANDING-WCAG20/https://www.w3.org/WAI/WCAG22/Understanding/
    • https://www.w3.org/WAI/WCAG20/quickref/https://www.w3.org/WAI/WCAG22/quickref/
    • https://www.w3.org/TR/WCAG20-TECHS/https://www.w3.org/WAI/WCAG22/Techniques/
  • Updated link labels from "WCAG 2.0" to "WCAG 2.2"

All links now point to the current WCAG 2.2 standards and resources.

Fixes canonical#5411

Updated all outdated WCAG 2.0 references to WCAG 2.2 in the accessibility documentation:
- Updated text from "WCAG 2.0 website" to "WCAG 2.2 website"
- Updated WCAG links from 2.0 to 2.2 versions
- Updated link labels from "WCAG 2.0" to "WCAG 2.2"

All links now point to the current WCAG 2.2 standards and resources.
@webteam-app
Copy link

Nayab-Gauhar is not a collaborator of the repo

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reformats the accessibility guidelines HTML template for improved code consistency and updates WCAG references from version 2.0 to 2.2.

  • Standardizes indentation throughout the template
  • Updates all WCAG 2.0 references to WCAG 2.2 with corresponding URL updates
  • Removes unnecessary line breaks (<br> tags) and cleans up whitespace

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@jmuzina jmuzina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WCAG reference updates themselves look good - some minor comments about formatting and possibly out of scope changes below.

<div class="p-strip">
<div class="u-fixed-width">
<h2>Noticed an issue?</h2>
<p>If you spot an accessibility problem in Vanilla, let us know <br> by <a href="https://github.com/canonical/vanilla-framework/issues">filing&nbsp;an&nbsp;issue</a> on GitHub.</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove the nbsp's here?

They are helping to keep the link as a whole on one line as the page shrinks. This is a very minor change, as this link only wraps on exceptionally small screens, but I'd like to keep the changes here in scope to the WCAG reference updates.

<div class="row">
<div class="col-12">
<h1>Accessibility guidelines</h1>
<p>Vanilla Framework aims for Level AA conformance with the <br><a href="https://www.w3.org/TR/WCAG22/">Web Content Accessibility Guidelines (WCAG) 2.2</a></p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the BR, it helps ensure WCAG starts on a new line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Outdated WCAG 2.0 references

3 participants