- Issue created by @herved
- Status changed to Needs review
11 months ago 8:04pm 1 August 2023 - π§πͺBelgium herved
Here is the patch with both CSS and markup fixes.
AXE has no issues with that: https://jsfiddle.net/s23w8q4j/ - last update
11 months ago 14 pass, 4 fail - last update
11 months ago 26 pass - π¬π§United Kingdom Baysaa
Is `sr-only` a native Drupal CSS class? I don't know so asking. I think traditionally `visually-hidden` may be the more appropriate class to use here. So I'd take the patch in the related issue over this one.
- πΊπΈUnited States clarksl@gmail.com
Path #9 worked for me as well. Thanks!
- π©πͺGermany Anybody Porta Westfalica
Thanks, could this please be turned into a MR for further review and merge?
- π¬π§United Kingdom Baysaa
@herved if the icon's using FA then it makes sense that sr-only should also work, thanks!
- Status changed to Needs work
2 days ago 3:06pm 26 June 2024 - πΊπΈUnited States smustgrave
Think visually hidden would be better as even though we have font awesome icons the library might not be present (so the checkbox setting is unchecked) so not sure sr-only would cover all cases.