Skip to content

[html-aam] Computing a role for a “aside” or “section” element creates an infinite loop #570

Open
@sideshowbarker

Description

Consider these two things:

A. Computing a role for an aside or section element. The conditions at https://w3c.github.io/html-aam/#el-aside and https://w3c.github.io/html-aam/#el-section for computing a role for an aside element or section element in turn require computing an accessible name for the aside element or section element.

B. Computing an accessible name for an element. Multiple steps in the algorithm at https://w3c.github.io/accname/#computation-steps for computing an accessible name for an element in turn require computing a role for that element.

That is: In order to implement A. Computing a role for an aside or section element in my code, I need to have that code call my implementation of B. Computing an accessible name for an element. But in order to implement B. Computing an accessible name for an element in my code, I need to have that code call my implementation of A. Computing a role for an aside or section element.

In other words, my code gets into an infinite loop if I implement the requirements as specified.

See also Siteimprove/alfa#298

Link to documentation: https://w3c.github.io/html-aam/#el-aside

Does the issue exists in the editors draft is the most recent draft of the specification? Yes

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions