rstudio / bookdown

Authoring Books and Technical Documents with R Markdown
https://pkgs.rstudio.com/bookdown/
GNU General Public License v3.0
3.78k stars 1.27k forks source link

Contrasts in default and Sepia themes fail accessibility test #568

Open dataopt opened 6 years ago

dataopt commented 6 years ago

http://wave.webaim.org/report#/https://bookdown.org/yihui/bookdown/ shows that bookdown colour schemes have contrast issues for the default and sepia themes:

bookdown_constrast_errors

bookdown_sepia_constrast_issues

These issues lead to books generated by bookdown not being able to meet the WCAG 2.0 requirements.

To correct these issues requires changes to the gitbook CSS.

kcudding commented 2 years ago

Yup, just ran into this during review from accessibility office. Looking for a custom .css solution right now, but meeting the standard should be the default.