W3C home > Mailing lists > Public > public-aria@w3.org > February 2016

Landmarks and labels

From: Léonie Watson <tink@tink.uk>
Date: Mon, 29 Feb 2016 21:49:46 -0000
To: <public-aria@w3.org>
Message-ID: <992a01d1733b$1e6cda50$5b468ef0$@tink.uk>
Hello,

On the APG call today we discussed techniques for providing labels for
multiple instances of the same landmark within a document. We touched on the
potential repetition problem, caused when a heading is associated with a
landmark region using aria-labelledby, and where the heading includes the
name of the landmark region. For example:

<div id="search" role="search" aria-labelledby="searchLabel">
<h2 id="searchLabel">Site search</h2>
...
</div>

The problem being that the word "search " would then be repeated by screen
readers ("Site search search region" is how Jaws would announce it for
example).

The thing is that I'm struggling to think of an example where the heading
wouldn't duplicate the name of the landmark. If the purpose of the heading
is to preface the content within that section, it sort of has to mention
what that content is/does, doesn't it?

For example the heading "Site" would not make sense visually (for the above
example), unless the word "search" was included also would it?

I'm thinking out loud here, so feel free to shoot this down with some cases
where the heading wouldn't need to include the landmark role! Thanks.

Léonie.
Received on Monday, 29 February 2016 21:50:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:58:21 UTC