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.

A visual inspection of the Rustdoc design reveals that there are a lot of distracting design elements, which can be especially problematic for people with dyslexia or attention disorders.

One of the first encountered is the header containing the search bar and controls. It is visually larger than the main heading of the page, it contains several high contrast icons and controls which also have additional bounding boxes, the whole thing presents a non-rectangular shape making it stand out more, and the search box contains a fairly verbose set of instructions.

Screenshot of Rustdoc search header with issues listed in previous paragraph highlighted

I have a few suggestions to improve the situation; some seem like obvious improvements, some are more debatable and I'm open to other suggestions: