WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Frames differ by browser

for

From: Birkir R. Gunnarsson
Date: Jan 10, 2017 2:50PM


The WCAG 2.4.1 text and techniques all refer to using the title
element on the frame.
FAct is that, according to the accessible name calculation native HTML
labeling comes before title (in this case I guess it would be the
<title> element inside the frame).
I agree, use aria-label to be safe (it beats out the native HTmL
labeling and you usually have control over it).
If the title still doesn't come through, you can place the frame in a
<div> with role="region" and aria-label="whatever the title should
be".
That way you have provided the label or the frame, albeit in a roundabout way.


On 1/10/17, JP Jamous < <EMAIL REMOVED> > wrote:
> Thank you Nick. That is very helpful.
>
>