E-mail List Archives
when is the "title" attribute used in the accessible name computation?
From: glen walker
Date: May 30, 2018 9:56AM
- Next message: Bryan Garaventa: "Re: when is the "title" attribute used in the accessible namecomputation?"
- Previous message: Birkir R. Gunnarsson: "Re: Looking for resources on WCAG2.1"
- Next message in Thread: Bryan Garaventa: "Re: when is the "title" attribute used in the accessible namecomputation?"
- Previous message in Thread: None
- View all messages in this Thread
I thought I knew the answer because it seems like I read
https://www.w3.org/TR/accname-1.1/#step2 about once a month.
My original thought was that the title attribute is the last kid to get
picked for for the kickball team. Step 2.I says "Otherwise, if the current
node has a Tooltip attribute, return its value. Comment:
Tooltip attributes are used only if nothing else, including subtree
content, has provided results."
However, when I was reading it today, step 2.D says "Otherwise, if the
current node's native markup provides an attribute (e.g. title) or element
(e.g. HTML label) that defines a text alternative, return that
alternative..."
Is the title attribute really considered a "text alternative"? I've never
considered it along the same lines as the alt attribute, but the spec
specifically lists the title attribute as an example of a text alternative.
Should the attribute example in 2.D really be the alt attribute instead of
the title attribute? The comment section for 2.D talks about the <img>
element's alt attribute.
Glen
- Next message: Bryan Garaventa: "Re: when is the "title" attribute used in the accessible namecomputation?"
- Previous message: Birkir R. Gunnarsson: "Re: Looking for resources on WCAG2.1"
- Next message in Thread: Bryan Garaventa: "Re: when is the "title" attribute used in the accessible namecomputation?"
- Previous message in Thread: None
- View all messages in this Thread