WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Hidden text more robust than title?

for

From: Jonathan Avila
Date: Jul 14, 2017 1:48PM


> It becomes a problem when we use it for a text input in place of an accessible name.

The title attribute can be used as the accessible name for an input as long as it's accessibility supported. It has been very well support historically but I haven't confirmed its support on mobile recently.

The accessible name calculation can be found here:
https://www.w3.org/TR/html-aam-1.0/#input-type-text-input-type-password-input-type-search-input-type-tel-input-type-url-and-textarea-element

It would not however serve as a visible label for an input that was not otherwise labelled because it is only available on mouse hover in most browsers.

Jonathan

Jonathan Avila
Chief Accessibility Officer
Level Access, inc. (formerly SSB BART Group, inc.)
(703) 637-8957
<EMAIL REMOVED>
Visit us online: Website | Twitter | Facebook | LinkedIn | Blog
Looking to boost your accessibility knowledge? Check out our free webinars!

The information contained in this transmission may be attorney privileged and/or confidential information intended for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited.

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Beranek, Nicholas
Sent: Friday, July 14, 2017 3:41 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Hidden text more robust than title?

Hey Brian, after our discussion we decided that since the title attribute is still being relayed as an accessible description for links (confirmed through MSAA object inspect and NVDA) it is OK to use it in this context. It becomes a problem when we use it for a text input in place of an accessible name.

Nick

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Lovely, Brian (CONT)
Sent: Friday, July 14, 2017 1:40 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: [WebAIM] Hidden text more robust than title?

Which is more robust, the title attribute or visually hidden text?

<a href="some/url" title="opens in a new window">read more</a>

<a href="some/url">read more <span class="css_clipping"> opens in a new window</span></a>

I have felt that the title attribute was not fully supported by AT, but I don't actually know of any specific situations where it would fail.

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.
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.