Hi @Heydon
I made a few changes in a forked version and if you get a spare moment would appreciate your comments.
https://github.com/Decrepidos/REVENGE.CSS
Added or removed the following:
Added not:span.fa and i.fa to exclude Font Awesomeicons hooks on empty elements.
Added i.fa:not([aria-hidden="true"])::after, span.fa:not([aria-hidden="true"])::after {
content: 'Use aria-hidden="true on icons.' !important;
} to make sure aria-hidden is included on icons
Removed as
requires role=contentInfo and requires role=banner as these are already conveyed natively. W3C validator generates a warning if used.
/*
body > div#footer:not([role="contentinfo"])::after, body > div.footer:not([role="contentinfo"])::after {
content: 'Use role="contentinfo" on this footer element or use native HTML5
.' !important;
}
body > div#header:not([role="banner"])::after, body > div.header:not([role="banner"])::after, body > div.banner:not([role="banner"])::after, body > div#banner:not([role="banner"])::after {
content: 'Use role="banner" on this header element or use native .' !important;
}
*/
/***
Added if div has class or ID of header but is not a native element include role. Considering if .banner #banner should be included
*/
div#header:not([role="banner"])::after, div.header:not([role="banner"])::after {
content: 'Use role="banner" on this header element or use native
.' !important;
}
Regards
Laurence