Giter Site home page Giter Site logo

freecodecamp / design-style-guide Goto Github PK

View Code? Open in Web Editor NEW
39.0 58.0 33.0 11.15 MB

Design Style Guide

Home Page: https://design-style-guide.freecodecamp.org

License: Creative Commons Attribution Share Alike 4.0 International

CSS 41.70% HTML 58.30%

design-style-guide's Introduction

Design Style Guide

Style guide for freeCodeCamp.org's Design System

design-style-guide's People

Contributors

ahmaxed avatar amandeepmittal avatar andrebdinis avatar berkeleytrue avatar dhinrichs-scottlogic avatar haydmills avatar huyenltnguyen avatar imgbot[bot] avatar imgbotapp avatar jnahan avatar johnkennedy9147 avatar quincylarson avatar raisedadead avatar systimotic avatar thatrobotdev avatar tommygebru avatar vkweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

design-style-guide's Issues

Give elements a clear focus outline

Hi, I hope it's okay to raise an issue here. I asked on the contributor forum if this page can be worked on, and it was recommended to open an issue to suggest improvements. Let me know what you think :)

Description
The Design Style Guide webpage currently does not meet accessibility standards. To ensure freeCodeCamp can be enjoyed by all, I would like to work on the following improvement:

Focus visibility for easy keyboard navigation.
WCAG 2.4.7 Focus Visible
https://www.w3.org/WAI/WCAG21/Understanding/focus-visible.html

Reproduction steps
Steps to reproduce the behaviour:

  1. Go to https://design-style-guide.freecodecamp.org/
  2. Use the Tab Key to navigate through all interactive elements
  3. See the lack of outline

Expected behaviour
Each focusable element shows a clear outline when in focus. A clear outline is defined as at least 2px thick and with at least 3:1 contrast ratio: https://w3c.github.io/wcag/understanding/focus-visible-enhanced.html

Suggested Design
A 3px white solid outline with a 3px outline-offset as can be seen in the screenshot below.

Screenshot of suggested focus indication
image

Acceptance criteria
Given A user navigates the web using a keyboard
When they read through the freeCodeCamp Design Style Guide
Then the clear focus indication lets them know which element they are currently on.

I submitted freeCodeCamp to brandcolors.net

I submitted the following colors to brandcolors.net
006400, FF9C2A, FF4025, 3949AB, EFEFEF

It will take a while for the issue to be processed, so please let me know which colors are more dominant and represent the brand freeCodeCamp.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.