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
I am encountering the nonPUAContentInSameTextElementfailure on content inserted via the CSS content rule in a ::before pseudo-element, which should be innocuous: for example CSS counters created with the counter() function, and on a zero-width space used to "fix" a Safari accessbility bug, where Safari does not report list semantics to AT when list-style: none is applied (see https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html)
The toolkit's suggestion that I should apply these characters in a span with aria-hidden="true" is not possible in this case, as this is raw HTML text content received from a CMS; nor would it be the correct way anyway, of applying css-counters for example.
Expected result
Characters such as a zero-width space or a css counter should not cause a failure.
Summary
I am encountering the
nonPUAContentInSameTextElement
failure on content inserted via the CSScontent
rule in a::before
pseudo-element, which should be innocuous: for example CSS counters created with thecounter()
function, and on a zero-width space used to "fix" a Safari accessbility bug, where Safari does not report list semantics to AT whenlist-style: none
is applied (see https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html)The toolkit's suggestion that I should apply these characters in a
span
witharia-hidden="true"
is not possible in this case, as this is raw HTML text content received from a CMS; nor would it be the correct way anyway, of applying css-counters for example.Expected result
Characters such as a zero-width space or a css counter should not cause a failure.
Actual result
Failure
Test Case
The following codepen shows both techniques:
https://codepen.io/lunelson/full/abzRZYo
Additional Information
ARC Toolkit version
3.3.2.0
Operating System and version
macOS 10.15.2
Browser and version:
Chrome Version 79.0.3945.117 (Official Build) (64-bit)
The text was updated successfully, but these errors were encountered: