Buttons out of context

Hi all.

I'd like to quickly discuss button and specifically out of context. I quote the following from WCAG 2.4.6

"When headings and labels are also correctly marked up and identified in accordance with 1.3.1: Info and Relationships<https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships>, this Success Criterion helps people who use screen readers by ensuring that labels and headings are meaningful when read out of context, for example, in an automatically generated list of headings/table of contents, or when jumping from heading to heading within a page."


maths papers
<button>Download</button>

geography papers
<button>Download</button>

physics papers
<button>Download</button>

So, what I'm reading from that is that it fails 2.4.6, but is there an argument that this may also fail 1.3.1, too? As the visible labels that help you identify the purpose of the fields are not programmatically associated?

As always thank you for your time I appreciate it!

Tom

(I will provide more context for my previous link issue later today) 🙂

Received on Thursday, 17 November 2022 11:17:03 UTC