You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
revises the <s> element to map to ARIA's deletion role, rather than having no implicit ARIA mapping. Introducing this mapping would allow for browsers to expose this role, and thus AT to better communicate that the content is marked as no longer relevant. Presently authors need to employ visually hidden content to programmatically convey what the element visually represents with its default UA CSS strike-through.
closes#416
revises the `<s>` element to map to ARIA's `deletion` role, rather than having no implicit ARIA mapping.
Introducing this mapping would allow for browsers to expose this role, and thus AT to better communicate that the content is marked as no longer relevant. Presently authors need to employ visually hidden content to programmatically convey what the element visually represents with its default UA CSS strike-through.
Presently authors need to employ visually hidden content to programmatically convey what the element visually represents with its default UA CSS strike-through.
Just for the sake of clarity, authors could also use role="deletion" rather than visually hidden content.
Thank you for the clarifying comment @jcsteh. Yes, my comment was meant to allude to practices that have been promoted prior to that roleβs wider implementation, and the fact that there is a βsemanticβ difference between the html del and s elements. I have a minor companion Pr to edit the aria spec so that the deletion role definition covers both use cases for the different html elements.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #416
revises the
<s>
element to map to ARIA'sdeletion
role, rather than having no implicit ARIA mapping. Introducing this mapping would allow for browsers to expose this role, and thus AT to better communicate that the content is marked as no longer relevant. Presently authors need to employ visually hidden content to programmatically convey what the element visually represents with its default UA CSS strike-through.Implementation requests:
Preview | Diff