Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All caps buttons and hyperlinks - not WCAG compliant? #4745

Closed
sigma-technology opened this issue May 31, 2017 · 6 comments
Closed

All caps buttons and hyperlinks - not WCAG compliant? #4745

sigma-technology opened this issue May 31, 2017 · 6 comments

Comments

@sigma-technology
Copy link

Not so much an issue as a topic for discussion...

I realise that Google's Material Design states that buttons should be displayed in all caps, so this framework is compliant with that. However, WCAG recommends not using all caps in any circumstances. There are only five instances of text-transform: uppercase in the main CSS file - should these be omitted by default?

I am having to un-text-transform these in my application because some of our clients are public sector bodies (UK) and they are anally retentive about WCAG compliance.

@DanielRuf
Copy link
Contributor

DanielRuf commented May 31, 2017

Makes sense imho humanmade/hm-pattern-library#75

Can you link the WCAG (2.0) guideline / rule (is it 3.1)?

@Dogfalo
Copy link
Owner

Dogfalo commented May 31, 2017

I would argue that caps on one word isn't going to severely impact readability. This is certainly a problem if you start having sentences in caps. Also I have confidence that what's good enough for Google in terms of accessibility is going to be good enough for most people. If they change this later in the design spec we will too.

@Dogfalo Dogfalo closed this as completed May 31, 2017
@sigma-technology
Copy link
Author

sigma-technology commented May 31, 2017

@Dogfalo I agree completely with you - my personal preference is that the ALLCAPS in the buttons is actually easier to read.

@DanielRuf It used to be 3.1 of WCAG 2.0 however I've just had a good look through and can't actually find any reference to over-use of capitalisation anymore. Hopefully it's gone and I can tell our clients that it's no longer relevant next time they mention it!

@DanielRuf
Copy link
Contributor

DanielRuf commented May 31, 2017

@DanielRuf It used to be 3.1 of WCAG 2.0 however I've just had a good look through and can't actually find any reference to over-use of capitalisation anymore. Hopefully it's gone and I can tell our clients that it's no longer relevant next time they mention it!

Exactly. I just saw

Using upper and lower case according to the spelling rules of the text language (future link)

But it seems they do not get much clearer and also in the WCAG C22 technique rules they use an uppercase class.
https://www.w3.org/TR/WCAG20-TECHS/C22.html#C22-ex7

So it looks like this is ok now?

@sigma-technology
Copy link
Author

sigma-technology commented May 31, 2017

As far as I can see, yes. Whether or not our clients will see it in the same way remains to be seen!

@dotjay
Copy link

dotjay commented Oct 12, 2020

Just stumbled across this thread and thought I'd throw my 2p worth in…

This issue is primarily discussed as part of Techniques for the The Cognitive and Learning Disabilities Accessibility Task Force (COGA). Due to the impact that ALLCAPS can have on different groups of users, the issue can be considered to fall into WCAG 2's Level AAA success criteria, 3.1.5 Reading Level and 3.1.6 Pronunciation.

The general advice is to avoid writing text in ALLCAPS for a number of reasons:

  1. Screen readers may read each letter out individually
  • Consider the difference between "Contact us" and "CONTACT US". When the text is all in capital letters, software is unable to analyse the text to know whether it is more appropriate to say "contact us" or "contact U.S." so it is common for people to hear the less appropriate text announced by their screen reader.
  • Interestingly, some screen readers treat "Add to cart" differently to "ADD TO CART", announcing the latter as "A D D to cart".
  1. People don't like listening to shouting
  • Using ALLCAPS is considered by some to be the digital equivalent of shouting. In fact, some screen readers announce uppercase letters with extra emphasis, which can be a little like listening to shouting.
  1. ALLCAPS are harder for some people to read

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants