Giter VIP home page Giter VIP logo

int-u2l7-23-24-student-exercises's Introduction

Lesson 2.7: Making Tech Accessible

๐ŸŽฏ Objectives

  • Understand the importance of accessibility in technology.
  • Learn about color contrast and the role it plays in accessibility.
  • Implement changes to enhance accessibility using HTML and CSS.
  • Learn to use hex colors for better visibility.
  • Understand and apply alt attributes for images to enhance accessibility.

Table of Contents

  1. Accessibility & Contrast
  2. Code Along Part 1: Color Contrast
  3. Alt Attributes

Accessibility & Contrast

  • Problems with inaccessible websites - it's important to make tech accessible and inclusive.
  • Rule of thumb for color contrast: 4.5:1 ratio.
  • Use of hex colors for better contrast.
p {
  color: #fcba03;
}

Alt Attributes

  • Important to use in your code for blind and visually impaired users.
<img alt="dog running" src="https://dogs.com/image.jpg" class="dog-pic">

Key Takeaways

  • Accessibility matters: Tech must be accessible to everyone, and simple measures can make a big difference.
  • Color Contrast: Proper color contrast is crucial for readability. A ratio of 4.5:1 is recommended for non-bold text.
  • Hex Colors: Utilize hex color codes for precise control over color shades.
  • Alt Attributes: These provide descriptions of images for screen readers, aiding visually impaired users.
  • Always Check Your Work: After making changes, always check your work in the browser and through other tools like color contrast tools or screen readers.

Resources

Happy coding!

int-u2l7-23-24-student-exercises's People

Contributors

cn-curriculum avatar cn-mika avatar

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.