-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Elements in fallback content which are passed to placeElement()
are still exposed to assistive technology APIs, just like all other canvas fallback content. There needs to be a way to indicate that some children are not yet in the canvas (until placeElement()
is called on them) and hence should not be visible to assistive technologies.
This can be achieved with any of the usual techniques for hiding content from assistive technology, such as using the hidden, inert or aria-hidden attributes, or applying a display: none or display: hidden style. Browsers cannot automate this because they do not know which fallback content is for non-placeElement portions of the canvas, and hence should remain accessible.
Some mechanism could be defined for distinguishing the two different use cases for fallback content and should at least be noted in the spec. We may wish to define a specific method of hiding so that the attribute/property can be removed when placeElement()
is called.