GCTC-NTGC / design-gc-digital-talent

GC Digital Talent design issues
0 stars 0 forks source link

🔤 Review Alt-texts, ARIA labels and link descriptions to follow best practices #23

Open RM-1978 opened 1 year ago

RM-1978 commented 1 year ago

🔤 Copy

Our approach to alternative text descriptions, ARIA labels and descriptive links should already be consistent and follow best practices across the platform, but it never hurts to be sure.

🕵️ Details

Research this indicates that:

To ensure optimal accessibility, best practices for Aria labels are:

Good ARIA descriptions reference longer content that provides a description.

Alternative text (alt text) is descriptive text which conveys the meaning and context of a visual item in a digital setting. Best practices for writing alt text include:

Good descriptive links should be:

For example , it is easier to understand Link purpose guidelines than:

🙋‍♀️ Proposed Implementation

  1. Extract ARIA labels
  2. Check them against descriptive links and best practices.
    • Confirm that all aria-labelledby provide the element it references with an accessible name. Update as required.
    • Confirm that all aria-labelledby are not duplicative of descriptive links. Update as required.
    • Confirm that all aria-describedby direct users to a longer content description. Update as required.
  3. Extract all Alt texts
  4. Confirm that Alt texts describe the meaning (information) and contexts (function) of visual images on the platform.

✅ Acceptance Criteria

A set of assumptions which, when tested, verify that the copy has been added or updated appropriately.

RM-1978 commented 11 months ago

@esizer or @mnigh shall we identify if:

petertgiles commented 11 months ago

This is important work, but not really actionable by a dev. I suggest creating issues with batches of specific changes as you find them.

RM-1978 commented 11 months ago

I will move it over to the Design repository, but I am not really certain if this is currently considered a design issue..

RM-1978 commented 11 months ago

@petertgiles, I think we will need a dev to extract the labels