w3c / wcag

Web Content Accessibility Guidelines
https://w3c.github.io/wcag/guidelines/22/
Other
1.13k stars 256 forks source link

Problems with blockquotes' pseudo-element styles #4134

Open kfranqueiro opened 1 day ago

kfranqueiro commented 1 day ago

Blockquotes in the Understanding docs include styling which adds an open quote on blockquote p:first-of-type::before, and a close quote on blockquote p:last-of-type::after. Unfortunately, this causes problems in many situations that involve multiple paragraphs, which often involves nesting.

Examples captured by @mbgower:

image

image

image

patrickhlauke commented 14 hours ago

I'd suggest just removing/overriding that styling? it seems well-meaning but overly naive