Content-Length: 228474 | pFad | https://github.com/w3c/wcag2ict/issues/609

E6 A nested phrase with emphasis loses its visual distinction when quoted · Issue #609 · w3c/wcag2ict · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A nested phrase with emphasis loses its visual distinction when quoted #609

Closed
mitchellevan opened this issue Jan 11, 2025 · 1 comment
Closed

Comments

@mitchellevan
Copy link
Contributor

mitchellevan commented Jan 11, 2025

Currently

This problem currently occurs only in SC 2.4.11 Focus Not Obscured.

When a phrase has <em> (emphasis) in a Note in WCAG, it appears with italics as expected.

SC 2.4.11 in WCAG with the word 'user' italicized

When the same note is quoted in WCAG2ICT, the entire note is italicized. The emphasized phrase inside the note still has programmatic emphasis, but it loses its visual emphasis.

The same note quoted in WCAG2ICT

Copied from DOM in WCAG2ICT:

<p class="">Content opened by the <em>user</em> may obscure the component receiving focus. If the user can reveal the focused component without advancing the keyboard focus, the component with focus is not considered hidden due to author-created content.</p>

Proposed

When a shorter italicized phrase would appear inside of a longer italicized phrase, a common solution in English content is to remove the italics from the shorter phrase.

@maryjom
Copy link
Contributor

maryjom commented Jan 13, 2025

@daniel The authored WCAG2ICT content has no control over the appearance of the quoted content. Is it the script or the W3C quote CSS changing the quoted content to be all italics? If so, can the script that handles embedding the content from WCAG can be updated to handle this?

maryjom added a commit that referenced this issue Jan 16, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in WCAG2ICT Note Update Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/w3c/wcag2ict/issues/609

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy