pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.54k stars 273 forks source link

[DOCS]: Ensures <img> elements have alternate text or a role of none or presentation. #4763

Open Suriya617 opened 6 days ago

Suriya617 commented 6 days ago

What happened?

Proper alt text is not defined for the image present after ‘Click on … Android section’ text under ‘Packaging’ heading. Screen reader is announcing as ‘Unlabeled graphic’.

How do we reproduce the behavior?

Repro steps:

  1. Open the URL: https://docs.pwabuilder.com/#/builder/android in edge dev browser and login with v-.
  2. Now Run Fast Pass from AI4W.
  3. Observe the issue.

What do you expect to happen?

Ensures elements have alternate text or a role of none or presentation.

What environment were you using?

Test Environment: OS: Windows11 OS Version: 23H2 (Build 25905.1000) Browser: Edge Dev (Version 117.0.2007.0 (Official build) dev (64-bit)) Screen reader: Narrator Tool: AI4W

Additional context

Element path: .docs-image:nth-child(12) > img[width="550"]

Snippet:

How to fix: Fix any of the following:

Notes: This issue repro throughout.

User Impact: Screen reader users will get impacted as users will not be able to the purpose of the image and will not be able to make track of the content properly.

WCAG Reference link: https://www.w3.org/WAI/WCAG21/Understanding/non-text-content

Attachments: MAS1 1 1_Ensures img elements have alternate text or a role of none or presentation1

MAS1 1 1_Ensures img elements have alternate text or a role of none or presentation