WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: advice on page with Non-distinguishable links

for

From: Birkir R. Gunnarsson
Date: Dec 4, 2016 5:59PM


aria-label is supposed to override the text of the link per the
accessible name computation which goes:
1. aria-labelledby
2. aria-label
3. native labeling (for buttons and links tah is the contents f the
element, for a form field it would be the contents of the connected
label element).
4. title

So
THe accessible name of this link should be Google (not Bing):
<span id="foo1">Google</span>
<a href="http://www.bing.com" aria-labelledby="foo1">Bing</a>

the accessible name of this link is Bing:
<a href="http:/www.google.com" aria-label="bing">Google</a>

This is why using ARIA to label elements should be avoided.
-B



On 12/4/16, Beranek, Nicholas < <EMAIL REMOVED> > wrote:
> Sometimes I'll find that aria-label overwrites the innerText of an anchor so
> I try to avoid it. Also, it will be considered the accessible name of a link
> when what we're looking for is an accessible description. Therefore,
> aria-describedby would be your best bet.
>
> Sent from my iPhone
>
>> On Dec 3, 2016, at 10:38 PM, Jonathan C. Cohn < <EMAIL REMOVED> >
>> wrote:
>>
>> When using the title attribute most screen reader browser combinations
>> speak title and screen text when tabbing between links but not when using
>> screen reader navigation.
>>
>> Is there a disadvantage to aria labels in text links?
>>
>> Best wishes,
>>
>> Jonathan Cohn
>>
>>> On Dec 2, 2016, at 3:28 AM, Julie Chan Watson
>>> < <EMAIL REMOVED> > wrote:
>>>
>>> Hi
>>> I read a great article about the use of the title attribute on links, and
>>> how screen readers handle them.
>>> Advice was to not use them as they are not read out by screen readers,
>>> unless there is no link text at all.
>>> Recommendation was to add all the text you need as the link text, and put
>>> <span> around the screen reader specific bits. and hide from other users
>>> with css.
>>>
>>> https://silktide.com/i-thought-title-text-improved-accessibility-i-was-wrong/
>>> <https://silktide.com/i-thought-title-text-improved-accessibility-i-was-wrong/>
>>>
>>>
>>> --
>>> Julie Chan Watson
>>> Web Developer
>>> Corporate Information & Computing Services (CiCS)
>>> The University of Sheffield
>>>
>>>
>>>>> On 30 Nov 2016, at 19:46, Jonathan Avila < <EMAIL REMOVED> >
>>>>> wrote:
>>>>>
>>>>> That's correct. SC 2.4.4 Link Purpose (In Context) does not require the
>>>>> link text itself to determine its purpose.
>>>>
>>>> The thinking behind this was that a screen reader user could keep their
>>>> focus on the link and use other common screen reader commands to access
>>>> other contextual information. For example, screen readers often provide
>>>> commands to read the header, sentence, paragraph, and list item without
>>>> requiring the user to move focus.
>>>>
>>>> As for the links list -- I'd consider that a feature request to screen
>>>> reader vendors. As far as I know even if title is used JAWS will only
>>>> display the title in the list of links if there isn't link text there
>>>> already. Aria-label should work.
>>>>
>>>> Jonathan
>>>>
>>>> Jonathan Avila
>>>> Chief Accessibility Officer
>>>> SSB BART Group
>>>> <EMAIL REMOVED>
>>>> 703.637.8957 (Office)
>>>> Vis Visit us online: Website | Twitter | Facebook | LinkedIn | Blog
>>>> Don't miss Trends in Accessibility & Electronic Documents on Wed 12/7!
>>>>
>>>> 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: Wednesday, November 30, 2016 2:37 PM
>>>> To: WebAIM Discussion List
>>>> Subject: Re: [WebAIM] advice on page with Non-distinguishable links
>>>>
>>>> That's correct. SC 2.4.4 Link Purpose (In Context) does not require the
>>>> link text itself to determine its purpose. The AAA violation, SC 2.49
>>>> Link Purpose (Link Only), is what requires the link text by itself
>>>> provide the context.
>>>>
>>>> I would consider it to be a Best Practice, however, to provide
>>>> additional information, but it is not something I would penalize someone
>>>> for.
>>>>
>>>> --
>>>> Nick Beranek
>>>> Digital Accessibility Team
>>>>
>>>>
>>>> On 11/30/16, 2:31 PM, "WebAIM-Forum on behalf of Angela French"
>>>> < <EMAIL REMOVED> on behalf of <EMAIL REMOVED> >
>>>> wrote:
>>>>
>>>> Even though in links list mode a screen reader user wouldn't have that
>>>> context?
>>>>
>>>> -----Original Message-----
>>>> From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On
>>>> Behalf Of Beranek, Nicholas
>>>> Sent: Wednesday, November 30, 2016 11:13 AM
>>>> To: WebAIM Discussion List
>>>> Subject: Re: [WebAIM] advice on page with Non-distinguishable links
>>>>
>>>> The column headers add that context. Therefore, the title attributes
>>>> are unnecessary.
>>>>
>>>> --
>>>> Nick Beranek
>>>> Digital Accessibility Team
>>>>
>>>>
>>>> On 11/30/16, 2:08 PM, "WebAIM-Forum on behalf of Angela French"
>>>> < <EMAIL REMOVED> on behalf of <EMAIL REMOVED> >
>>>> wrote:
>>>>
>>>> What about in a table like this?
>>>> http://www.sbctc.edu/our-colleges/college-contact-list.aspx . Do you
>>>> think title attributes are necessary or does the table provide adequate
>>>> context?
>>>>
>>>> Angela French
>>>>
>>>> -----Original Message-----
>>>> From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On
>>>> Behalf Of Beranek, Nicholas
>>>> Sent: Wednesday, November 30, 2016 9:55 AM
>>>> To: WebAIM Discussion List
>>>> Subject: Re: [WebAIM] advice on page with Non-distinguishable links
>>>>
>>>> Hi Angela,
>>>>
>>>> This is assuming that you are following level AA and not AAA. If
>>>> you have a look at SC 2.4.4 Link Purpose (In Context), you'll find the
>>>> following sufficient technique: H33: Supplementing link text with the
>>>> title attribute. Therefore, if you add a title attribute to each link
>>>> and include the year as its value, then it will satisfy this success
>>>> criterion.
>>>>
>>>> Another technique that is not included as a sufficient technique is
>>>> using the heading itself as the context for the links, or even the name
>>>> of the region or landmark in which it's contained. I would like to ask
>>>> others what their thoughts are about this. If that is deemed sufficient,
>>>> then you have already satisfied it.
>>>>
>>>> Nick
>>>>
>>>> --
>>>> Nick Beranek
>>>> Digital Accessibility Team
>>>>
>>>>
>>>> On 11/30/16, 12:39 PM, "WebAIM-Forum on behalf of Angela French"
>>>> < <EMAIL REMOVED> on behalf of <EMAIL REMOVED> >
>>>> wrote:
>>>>
>>>> Hello,
>>>> I'm looking for some advice on how we might be able to remedy
>>>> the Non-distinguishable Links errors on a page I'm working on.
>>>>
>>>> The page consists of Year headings and underneath each year is
>>>> a set of links to documents. These documents are titled the same for
>>>> each year:
>>>>
>>>>
>>>> * Introductions
>>>>
>>>> * Enrollments
>>>>
>>>> * Selected Programs
>>>>
>>>> * Student Progress and Success
>>>>
>>>> * Etc.
>>>>
>>>> This results in numerous link labels that are the same but go
>>>> to different destinations. Short of adding the year to each link label,
>>>> is there another way to handle this? Adding the year would seem to add
>>>> unnecessary visual and aural redundancy.
>>>>
>>>> Thanks!
>>>>
>>>>
>>>> Angela French
>>>> Internet/Intranet Specialist
>>>> Washington State Board for Community and Technical Colleges
>>>> 360-704-4316
>>>> <EMAIL REMOVED> <mailto: <EMAIL REMOVED> >
>>>> www.sbctc.edu<;http://www.sbctc.edu/>;
>>>>
>>>> >>>> >>>> >>>> >>>>
>>>>
>>>>
>>>> >>>>
>>>> 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.
>>>> >>>> >>>> archives at http://webaim.org/discussion/archives
>>>> >>>> >>>> >>>> >>>> >>>>
>>>>
>>>>
>>>> >>>>
>>>> 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.
>>>> >>>> >>>> archives at http://webaim.org/discussion/archives
>>>> >>>> >>>> >>>> >>>> >>>>
>>>>
>>>>
>>>> >>>>
>>>> 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.
>>>> >>>> >>>> at http://webaim.org/discussion/archives
>>>> >>>
>>>
>>>
>>>
>>> >>> >>> >>> >> >> >> >> > >
> 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.
>
> > > > >


--
Work hard. Have fun. Make history.