UI Dev Newsletter Issue #97
In this issue: scoped CSS, the “const” deception, feature detection for modern CSS, and more.
Scoped CSS is Back
Keith J. Grant explains scoped CSS, the feature that allows developers to contain a set of styles within a single component on a page.
Don’t use custom CSS scrollbars
Eric Bailey argues against custom CSS scrollbars due to accessibility concerns and suggests using the default browser scrollbar instead.
Transition to and from display:none with upcoming CSS capabilities
Una Kravets looks at the upcoming CSS capability to transition to and from `display:none` in CSS.
Chris Ferdinandi looks at how to create a new Date object and make it a bit easier to use.
The “const” Deception
Make Your Website Load Fast By Optimizing Request Priorities
Matt Zeunert looks at why resource priorities matter and what you can do to optimize them and make your website faster.
short note: why isn’t role=presentation/none allowed on focusable elements?
Steve Faulkner explores why using ARIA role=presentation and role=none on focusable elements is not allowed.
Stephanie Eckles shares a script for feature detection for modern CSS inspired by the legacy of Modernizr.