WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [External Sender] Title Attribute Issue


From: Steve Green
Date: Aug 30, 2019 9:22AM

aria-describedby suffers from the same problem that Jim reported, insofar as screen readers will announce the value of the attribute when you tab to the button but they will not announce it in virtual cursor mode.

If you want to ensure that the information is announced when tabbing and also in virtual cursor mode, you need to use some form of hidden text that is included in the button's name. Critics will say this approach is very old school, but it works and there's actually nothing wrong with it.

FWIW, this isn't likely to be an NVDA issue - I would expect the same behaviour in other screen readers.

Steve Green
Managing Director
Test Partners Ltd

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of Brian Lovely via WebAIM-Forum
Sent: 30 August 2019 16:06
To: WebAIM Discussion List < <EMAIL REMOVED> >
Cc: Brian Lovely < <EMAIL REMOVED> >
Subject: Re: [WebAIM] [External Sender] Title Attribute Issue

Support for the title element is spotty, so I do not recommend relying on it. Better to use aria-describedby set to the ID of an element containing the desired text. You don't have to call out the button for use of the title element, but you can for missing instructions.

On Fri, Aug 30, 2019 at 10:58 AM Jim Homme < <EMAIL REMOVED> > wrote:

> Hi,
> I'm encountering a situation in which I see buttons NVDA reads the
> Title attribute for when I tab to them, but not when I arrow to them.
> The site uses the title attribute to explain more information when
> focus or hover is on the buttons. I feel that NVDA should read the
> Title attributes, since it drags focus to the buttons when the user
> arrows. I've read all sorts of negative stuff about using the Title
> attribute, but I feel that if this is an NvDA issue, I should not fail
> these buttons for having a Title attribute. They fail for not having
> descriptive names, but that is a different thing. Am I thinking correctly here?
> Thanks.
> Jim
> ==========
> Jim Homme
> Digital Accessibility
> Bender Consulting Services
> 412-787-8567
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.benderconsult
> .com_our-2520services_hightest-2Daccessible-2Dtechnology-2Dsolutions&d
> bnlG1RIV6Bl3MtdwmuKJCwL2Q3WrQ&m=ZG2pRIGwIqxjEr_NoHpltsvF4sQ2WvLWu-S24g
> eJHFs&s=lnDk1kgo_-xoCsU3GSAqkVDcD1kwLmuJtaiFCOaS3kY&e=
> > > https://urldefense.proofpoint.com/v2/url?u=http-3A__list.webaim.org_&d
> bnlG1RIV6Bl3MtdwmuKJCwL2Q3WrQ&m=ZG2pRIGwIqxjEr_NoHpltsvF4sQ2WvLWu-S24g
> eJHFs&s=MTo692YPz0aUL_Qqu6p5_fzVAhJRGYWvK6x0BfAJ9b4&e=
> List archives at
> https://urldefense.proofpoint.com/v2/url?u=http-3A__webaim.org_discuss
> ion_archives&d=DwICAg&c=pLULRYW__RtkwsQUPxJVDGboCTdgji3AcHNJU0BpTJE&r=
> MMimM36KI-FWX0bnlG1RIV6Bl3MtdwmuKJCwL2Q3WrQ&m=ZG2pRIGwIqxjEr_NoHpltsvF
> 4sQ2WvLWu-S24geJHFs&s=G6zvnC_o_skuLe_oE1wt1R49uzQ9jrIp3Vg8_LKz-Tk&e=
> >

*Brian Lovely*
Capital One Digital Accessibility

The information contained in this e-mail is confidential and/or proprietary to Capital One and/or its affiliates and may only be used solely in performance of work or services for Capital One. The information transmitted herewith is intended only for use by the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon this information is strictly prohibited. If you have received this communication in error, please contact the sender and delete the material from your computer.