WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Landmarks

for

From: Birkir R. Gunnarsson
Date: May 2, 2019 8:49AM


Axe flags a page where some content is contained in landmarks and
other content isn't as a best practice issue, which I think is
reasonable.
I haven't tested situations where you have multiple banner, main or
contentinfo regions per page, it should be the same (slight misuse of
ARIA) though I know the ARIA group has had debates about whether this
is true, a page could contain an embedded document with its own
landmark structure, or be sectioned in such a way as justifying two
main landmarks.
I personally disagree.
I think all pages should have banner, main and contentinfo (except
pages with no headers or footers whatsoever, those are rare but do
exist).
I insist on that in my reviews, I also flag multiple
banner/main/contentinfo landmarks as a fail.
Between these 3 you should have the whole pae covered.
There are the occasional borderline cases, such as breadcrumbs, which
I recommend role="navigation" on, these are sometimes displayed
between header and main, or main and footer.
Sometimes you have totally irrelevant contnt on the page, in which
case I recommend the complementary role, things like standard ad
banners for sections of pages, weather information for a hotel page
and similar.

I think landmarks are worth fighting for, at least the minimal use of
basic landmarks. AS steve elegantly pointed out, they convey more
information than headings alone and they are also standard across
pages whereas heading structure and text depends on the page content
and is less consistent.



On 5/2/19, Isabel Holdsworth < <EMAIL REMOVED> > wrote:
> I kind of feel like either use them correctly or not at all. Does this
> seem a reasonable enough approach?
>
> Steve, you make a very good point about landmarks denoting the end as
> well as the start, which mechanisms such as H1 headings and skip links
> can't do.
>
> Cheers, Isabel
>
> On 02/05/2019, Steve Green < <EMAIL REMOVED> > wrote:
>> The absence of landmarks is certainly not the most serious of
>> accessibility
>> barriers, but landmarks have the advantage that they convey both the
>> start
>> and end of sections of content, which headings do not.
>>
>> Page headers and footers are usually conveyed visually in a totally
>> unambiguous manner. SC 1.3.1 requires that this structure is conveyed
>> programmatically, and landmarks are the best way to do that. In fact, how
>> else would you do so? I struggle to see how this cannot be a
>> non-compliance.
>>
>> Steve
>>
>>
>> -----Original Message-----
>> From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of
>> Jonathan Avila
>> Sent: 02 May 2019 14:45
>> To: WebAIM Discussion List < <EMAIL REMOVED> >
>> Subject: Re: [WebAIM] Landmarks
>>
>>> My view is that it is a violation of 1.3.1 if landmarks are not used or
>>> are used incorrectly. In most cases I would expect all page content to
>>> be
>>> in at least one landmark - there may be exceptions where that is not
>>> appropriate but I can't think of any.
>>
>> Of note the Accessibility Guidelines working group has not created a
>> documented failure for this because experts could not agree that a lack
>> of
>> landmarks was indeed a WCAG failure. Other elements such as headings or
>> text could be used to communicate the visual page structure without
>> requiring all pages to have landmarks. So it really depends on what is
>> communicated visually through presentation and what other elements and
>> text
>> exist on the page.
>>
>> Jonathan
>>
>> -----Original Message-----
>> From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of
>> Steve
>> Green
>> Sent: Thursday, May 2, 2019 5:53 AM
>> To: WebAIM Discussion List < <EMAIL REMOVED> >
>> Subject: Re: [WebAIM] Landmarks
>>
>> CAUTION: This email originated from outside of the organization. Do not
>> click links or open attachments unless you recognize the sender and know
>> the
>> content is safe.
>>
>>
>> My view is that it is a violation of 1.3.1 if landmarks are not used or
>> are
>> used incorrectly. In most cases I would expect all page content to be in
>> at
>> least one landmark - there may be exceptions where that is not
>> appropriate
>> but I can't think of any.
>>
>> Steve Green
>> Managing Director
>> Test Partners Ltd
>>
>>
>> -----Original Message-----
>> From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of
>> Isabel Holdsworth
>> Sent: 02 May 2019 10:23
>> To: <EMAIL REMOVED>
>> Subject: [WebAIM] Landmarks
>>
>> Hi all,
>>
>> I'm currently auditing a web application that uses ARIA landmarks in a
>> very
>> random fashion.
>>
>> I've discovered that using landmarks within a dialog causes JAWS 2018 to
>> say
>> nothing but "dialog" when trying to interact with elements using the
>> virtual
>> cursor and sometimes the Tab key. So I'll recommend they stop doing this.
>>
>> On some pages they have a <div role="main"> wrapper around unique page
>> content, but they're not using header or footer roles. Is it OK to have
>> some
>> content wrapped in landmarks and the rest not? I know that ideally if
>> landmarks are to be used at all they should be applied to the whole page,
>> but would not doing so constitute a WCAG 2.0 violation?
>>
>> I've found a few banner landmarks inside main landmarks - do you think
>> this
>> would be a fail? If so under which guideline? 1.3.1 perhaps?
>>
>> Thanks as always, Isabel
>> >> >> at
>> http://webaim.org/discussion/archives
>> >> >> >> at
>> http://webaim.org/discussion/archives
>> >> >> >> at
>> http://webaim.org/discussion/archives
>> >> >> >> >> >>
> > > > >


--
Work hard. Have fun. Make history.