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
I also want a couple of accessibility improvements here.


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

Code: [Select]
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

Code: [Select]
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.