Skip to content

Question regarding <aside> conditional mapping #512

@sivakusayan

Description

@sivakusayan

Blink got a bug report regarding the aside mapping a while back from an NVDA user. They were pointing out that the sidebar in this WordPress article wasn't exposed as a landmark.

This happens because the sidebar is an <aside> element nested inside both a <section> and an <article>, and has no accessible name. I want to call it an authoring error and say that Blink is technically to spec here, but two things make me hesitate:

  • It's been around 1.5 years since the original PR has been merged, and the Gecko/WebKit implementations don't seem to be done yet. If Blink keeps this behavior, it could be seen as an interop issue or feel buggy, since the average user/developer probably isn't aware that the AAM exists at all and is unfamiliar with this conditional mapping.
  • The structure of the WordPress article feels like a natural pattern many developers might take (well, aside from the single <section> element that doesn't really seem to be sectioning anything off...). If a developer writes something like the code below, they might expect it to just work with assistive technology since it's relatively semantic HTML.
<article>
    Some super cool article!
    <aside>Some sidebar with lots of cool stuff</aside>
</article>

Can I get advice on whether Blink should prioritize interoperability or conforming to the spec in this case? Again, I'm tempted to ask for the bug to be closed as expected behavior, but the thing that makes me hesitate is that a screen reader user brought up this issue, the HTML listed above feels very natural to write, and we don't have browser implementations yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions