OPNsense Forum

English Forums => Development and Code Review => Topic started by: NOYB on January 20, 2018, 10:03:37 AM

Title: Speaking of accessibility...
Post by: NOYB on January 20, 2018, 10:03:37 AM
Quote from: franco on January 13, 2018, 11:24:03 AM
I also want a couple of accessibility improvements here.


HTML/Usage/Headings/Missing
https://www.w3.org/wiki/HTML/Usage/Headings/Missing


grep -ERIisro '<section ' /usr/core/src/* | grep -c '<section '
grep -ERIisrc '<section ' /usr/core/src/* | grep -v ':0$' | grep -c ".*"
grep -ERIisrc '<section ' /usr/core/src/* | grep -v ':0$'

313 occurrences in 136 files


grep -ERIisro '<section ' /usr/plugins/* | grep -c '<section '
grep -ERIisrc '<section ' /usr/plugins/* | grep -v ':0$' | grep -c ".*"
grep -ERIisrc '<section ' /usr/plugins/* | grep -v ':0$'

79 occurrences in 34 files

https://validator.w3.org/
Warning: Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.
Title: Re: Speaking of accessibility...
Post by: fabian on January 20, 2018, 12:00:20 PM
moved to "Development and Code Review" - it fits better here.