Metadecidim
Sign in

Process

Report a Bug

not yet on protocol

[Accessibility] Get rid of ALLCAPS headings and buttons in the default Decidim styling

ALLCAPS headings/buttons are bad for accessibility:
- They make the text less readable
- They are problematic for dyslexic people
- Some screen readers read them letter by letter, even if the capitalization has been made using CSS

This kind of styling is not particularly forbidden by the WCAG 2.1 guidelines but makes the system less accessible e.g. for the mentioned reasons, so it should not be encouraged by Decidim's default styling.

Further reading:
https://github.com/humanmade/hm-pattern-library/issues/75
https://accessibility.huit.harvard.edu/design-readability

Also, why are ALLCAPS forbidden in the proposal titles by the etiquette validator if they are enforced in Decidim's own headings? ;)

Documents

1 comment

  1. One point regarding this is also that when the text is copied to clipboard, most systems copy the text in the same format as it is displayed on the page. Therefore, e.g. the text in the headings is copied in ALLCAPS format which I believe is not desired many times.

    From previous experience with content management, this also easily leads to user errors, i.e. users entering the source text in ALLCAPS format because they happened to copy it from a different place in ALLCAPS and they don't really care as long as the text shows up in that format.

    If not anything else, I would see it as a bad convention that should not be encouraged by default. Individual organizations can implement this specifically to their instances but it should not be encouraged as the default.

    0 votes up 0 votes down

Sign in with your Atmosphere account to comment.