Week 13: More Bootstrap v4
Bootstrap Cards
- Cards are a design element that let's you create a visual repeating pattern of tiles on the page.
- They work really well as a grid.
- Bootstrap Card Reference
Accessibility
Start with this playlist
Remember to follow these rules when writing your HTML and CSS:
- Always have enough Colour contrast. Use a tool to test.
- Don't use colour alone to convey meaning. Add patterns or text.
- Use the
:focus
state to make it obvious what the user is interacting with. - Use labels AND placeholders for your form elements.
- Always add
alt
attributes to images - Use proper semantic tags. Screenreaders care about dates and times too.
- Make sure your site works with a keyboard only navigation approach. Test it yourself.
Try the Axe-Coconut Chrome plugin to test your site and see how accessible it really is.
Writing CSS with Accessibility in Mind
Appropriate text sizes for screen sizes
Don't be afraid to create many different media queries to best suit the situation.
Colour contrast
Final Project
- Work on your Final Project
- Don't forget to watch the Bootstrap Playlist