Skip to content

css generated content alternative text #253

@pkra

Description

@pkra

From w3c/css-aam#16.

Also, accname's step 2.6.2 does not seem to take css content alternatives into account.

Step "Name From Generated Content" currently reads:

Name From Generated Content: Check for CSS generated textual content associated with the current node and include it in the accumulated text. The CSS ::before and ::after pseudo elements [CSS2] can provide textual content for elements that have a content model, in addition to the ::marker pseudo element.

When filing the css-aam issue, I had worried that it may be confusing to readers whether CSS content alternatives are used (while most user agents support them). The link from accname to selectors-3 and CSS 2 does not cover alternatives.

The css-content-3 spec may be the right reference (and possibly replace pseudo-element references) but as noted in the css-aam issue, https://drafts.csswg.org/css-content/#alt is oddly phrased (referring to CSS speech).

Metadata

Metadata

Assignees

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