Re: Is linktext a label?

Hi Sarah,
In my opinion you summed up everything correctly.

Just one thing: a button is for actions, a link is a reference to another resource - so you can’t use a button for a download or a link to send a form.

Each html element has a meaning and semantics which should be respected.

--
Mit freundlichen Grüßen

Marc Haunschild
www.mhis.de

On 18. Sep 2020, at 09:47, Ms J <ms.jflz.woop@gmail.com> wrote:


Hello

Labels are described as any text presented to users to enable them to identify the purpose of a component. Does this included link text?

I would have assumed that it does, especially since you can apply an aria-label to a link and it will override the link text...

So as I understand it -

If the link purpose is not determinable it’ll fail to meet A - link purpose

If the link purpose is not determinable from the link text alone it’ll fail to meet AAA - link only purpose

If the label doesn’t match the accessible name (aria-lable doesn’t match link text) it’ll fail to meet A - label in name

But reading headings and labels AA, this also suggests that labels should be descriptive of the component purpose. So if a site implements many buttons with the same label but different purposes (such as ‘download’) I guess it would fail to meet the AA level as screen reader users can’t determine the purpose of these out of context? But if these are implemented as links instead of buttons and the surrounding context makes it clear what the purpose of the component is, then even though it is the exact same behaviour, they only fail to meet the AAA standard for link only purpose? Or would it fail AA headings and labels?

Please can you clarify this for me so I can understand the guidance.

Thanks

Sarah



Get Outlook for iOS<https://aka.ms/o0ukef>

Received on Friday, 18 September 2020 09:26:58 UTC