Home > Designing, Others > How Our CSS Framework Helps Enforce Accessibility

How Our CSS Framework Helps Enforce Accessibility

November 18th, 2015 Leave a comment Go to comments

Ian McBurnie:

A user interface control not only needs to look like a certain control, it must be described as that control too.

What if we could also write our CSS framework in a way that acts as another layer in our line of defense? Read on to find out how!

One of the tricks:

[role=button].btn {
  /* Gotta be the right role before it gets the styles */
}

Direct Link to ArticlePermalink


How Our CSS Framework Helps Enforce Accessibility is a post from CSS-Tricks

Categories: Designing, Others Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.