darcydriscoll / chat-room

A small chat room made w/ Vue, Tailwind, MySQL, and PHP.
MIT License
0 stars 0 forks source link

Handle accessibility on sign in screen #39

Closed darcydriscoll closed 2 years ago

darcydriscoll commented 2 years ago

🐏 Now: Motivation

⚜️ Where's the issue?

The sign in screen.

⚜️ What's the issue?

The sign in screen isn't as accessible as I thought it was.

⚜️ Any ideas on how to solve it?

πŸ¦„ Later: Solving it

πŸ’  The problem

Because this is a bug and not a new feature, I'll handle sign-in accessibility inside this issue.

πŸ’  The method

πŸ’  Notes

darcydriscoll commented 2 years ago

Changed the focus ring colours of all focus rings to a colour with higher contrast against the dark background.

darcydriscoll commented 2 years ago

Made the sign in submit button contrast better against its text. Turns out, I didn't understand colour contrast as well as I thought I did. The 3:1 minimum contrast for interactive elements seems to refer to e.g. a button's contrast against the background, rather than the button text's contrast against the button itself.

darcydriscoll commented 2 years ago

Done!