Skip to content

Text Alt Comp section on CSS generated content does not allow for proper CSS content fallback #20

@jnurthen

Description

@jnurthen

Moving old tracker issues.

https://www.w3.org/WAI/ARIA/track/issues/542

http://www.w3.org/WAI/PF/aria/complete#tac_gencss

This section does not account for proper CSS generated content fallbacks.

<div style="content: url(icon.png), attr(data-fallback);" data-fallback="Bar">Foo</div>

According to the TAC, the accessible name should be "Foo" as an image replaced the text visually, but the modality-specific text replacement should be "Bar"… We should adjust the name computation to account for this, despite the fact that the modality-specific fallback does not yet work in any known UA.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions