Skip to content

Children of hidden elements not exposed through labelledby #19

@jaragunde

Description

@jaragunde

Provided this input:

<img src="foo.jpg" id="test" alt="test" aria-labelledby="t1">
<div id="t1" style="visibility:hidden">foo</div>

The calculated accname is "foo", but if we add an internal, inline node like this:

<img src="foo.jpg" id="test" alt="test" aria-labelledby="t1">
<div id="t1" style="visibility:hidden"><span>foo</span></div>

The result is "test".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions