WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: when is the "title" attribute used in the accessible namecomputation?

for

From: Glen Walker
Date: May 30, 2018 4:42PM


I wasn't saying it shouldn't be included. My question was that it was referenced in both step 4 (D) and step 12 (I).

Sent from my iPhone

> On May 30, 2018, at 4:32 PM, Steve Green < <EMAIL REMOVED> > wrote:
>
> I have no objection to the title attribute being included in the accessible name calculation as the last resort in the absence of anything else. However, I would set the threshold for WCAG compliance as being higher than that.
>
> The rationale is that including the title attribute in the accessible name calculation will benefit some people, but not enough that it can be considered sufficient.
>
> Steve Green
> Managing Director
> Test Partners Ltd
>
>
> -----Original Message-----
> From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Bryan Garaventa
> Sent: 30 May 2018 19:14
> To: WebAIM Discussion List < <EMAIL REMOVED> >
> Subject: Re: [WebAIM] when is the "title" attribute used in the accessible name computation?
>
> Hi,
> There is an open issue about this for the AccName 1.2 milestone at
> https://github.com/w3c/accname/issues/10
>
>
> Bryan Garaventa
> Accessibility Fellow
> Level Access, Inc.
> <EMAIL REMOVED>
> 415.624.2709 (o)
> www.LevelAccess.com
>
> -----Original Message-----
> From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of glen walker
> Sent: Wednesday, May 30, 2018 8:57 AM
> To: WebAIM Discussion List < <EMAIL REMOVED> >
> Subject: [WebAIM] when is the "title" attribute used in the accessible name computation?
>
> 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
> > > > > > >