WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Landmarks on Mobile web

for

From: glen walker
Date: Aug 25, 2021 1:21PM


It can be handy to navigate by landmarks on mobile. Whether some of those
landmarks should disappear when in responsive or mobile view is more of a
UX discussion, as Birkir notes. With VoiceOver on iOS, I can change my
rotor to navigate by landmarks so swiping up/down goes to the next
landmark. Unfortunately, VoiceOver treats the <article> element as a
landmark when it absolutely is *not* a landmark. So that clutters up my
navigation when I'm on a news site like CNN.

See https://www.w3.org/TR/wai-aria/#article. The second sentence says "an
article is not a navigational landmark".

The VoiceOver rotor also lets you navigate by articles so it's doubly
confusing why Apple decided to include articles in the landmarks list when
they can be navigated separately.