rustdoc styling improvements for readability · Issue #59845 · rust-lang/rust (original) (raw)

This is being broken out of #59829 to provide smaller, actionable items that can be independently discussed and worked on.

Comparing the overall rustdoc styling with recommendations for accessibility, including for dyslexia and attention disorders, there are a number of improvements that could be made.

In addition, the mdBook default styling, which is already used for the Rust Book and other official Rust documentation, already meets or comes closer to meeting several of these criteria, so one way to achieve several of these goals would be to unify styling with mdBook.

A few of these recommendations may be more appropriate for a separate theme rather than the default theme, but I think many of these changes could improve readability and usability for all users.