guardian / dotcom-rendering

The Guardian web rendering service (aka DCR/DCAR)
https://www.theguardian.com
Apache License 2.0
255 stars 30 forks source link

Issue ID: DAC_Unstructured_Lists1 #5078

Open VDuczekW opened 2 years ago

VDuczekW commented 2 years ago

Report Link: https://drive.google.com/file/d/1-5pHiOD4Bk8jlLdZ6mTsTD-lVuUD9_Im/view?usp=sharing

Full issue list: https://docs.google.com/spreadsheets/d/1vWQtZfD49uq7uNCNELuYN_HcIj-BKiE4t4Hwda3tJaQ/edit#gid=0

bryophyta commented 2 years ago

Note This is an automatically-generated comment. Feel free to edit the content, but please don't edit this 'note' block.

Intro to report

Copying the intro here to aid discoverability of the report's content:

Unstructured Lists
Lists were found not to be structured correctly.
WCAG Reference:
1.3.1 Info and Relationships (Level A)
Understanding Info and Relationships |How to Meet Info and Relationships
Issue ID: DAC_Unstructured_Lists1
URL: https://www.theguardian.com/uk
Page title: News, sport and opinion from the Guardian's UK edition | The Guardian
Journey: 1.1
Screenshot:

Screen readers have a specific way of announcing lists. When content elements other than
list items are contained within a set of list elements, screen readers cannot inform the
listener that they are listening to items within the list. In this instance for the weather, the
<li> items have been given a role="text", which strips the <li> element of any structure
having a direct impact to the <ul>.
bryophyta commented 2 years ago

This is in the weather widget.