← 返回首页
accessibility Archives - CSS-Tricks
Skip to main content

Articles Tagged
accessibility

Top Tags SVGaccessibilityWordPressJavaScriptperformanceanimationreactgridCSSpolltypographycustom propertiesformsjQueryvuelayoutcss-trickscolorweb componentslearning 200 Articles Sorting {
  'order' =>   DESC ASC ,
  'orderby' => date modified rand comment_count
}
Direct link to the article Quick Hit #129

Quick Hit #129

Firefox 150 shipped ariaNotify(), an alternative to ARIA live regions, but it lacks Safari support and is unreliable on macOS.…

Daniel Schwarz on Apr 29, 2026
Direct link to the article Quick Hit #120

Quick Hit #120

Chrome 147 ships contrast-color() (the Color Level 5 version that only resolves to black or white), making it baseline.…

Daniel Schwarz on Apr 8, 2026
Direct link to the article Popover API or Dialog API: Which to Choose?

Popover API or Dialog API: Which to Choose?

Choosing between Popover API and Dialog API is difficult because they seem to do the same job, but they don’t! After a bit lots of research, I discovered that the Popover API and Dialog API are wildly different in terms of accessibility and we'll go over that in this article.
Zell Liew on Mar 2, 2026
Direct link to the article Approximating contrast-color() With Other CSS Features

Approximating contrast-color() With Other CSS Features

The new contrast-color() function is not fully supported yet. But can we still implement it in a cross-browser friendly way using other new CSS features?
Kevin Hamer on Feb 11, 2026
Direct link to the article Quick Hit #92

Quick Hit #92

Chrome Canary trials <meta name=text-scale, making OS-level text scaling work on the web.…

Daniel Schwarz on Jan 30, 2026
Direct link to the article There is No Need to Trap Focus on a Dialog Element

There is No Need to Trap Focus on a Dialog Element

Accessibility advice around modals have commonly taught us to trap focus within the modal. Upon further research, it seems like we no longer need to trap focus within the <dialog> (even in modal mode).
Zell Liew on Jan 26, 2026
Direct link to the article I Learned The First Rule of ARIA the Hard Way

I Learned The First Rule of ARIA the Hard Way

Semantic HTML does a lot more accessibility work than we usually give it credit for already — and ARIA is simple to abuse when we use it both as a shortcut and as a supplement.
Hashim Quraishi on Jan 21, 2026
Direct link to the article Quick Hit #68

Quick Hit #68

Firefox 146 has shipped the CSS Color 5 version of contrast-color() that only resolves to black or white. Hopefully Chrome support and CSS Color 6 implementation is to follow.…

Daniel Schwarz on Dec 10, 2025
Direct link to the article Explaining the Accessible Benefits of Using Semantic HTML Elements

Explaining the Accessible Benefits of Using Semantic HTML Elements

Why should you use a semantic <button> instead of a generic <div>? Accessibility, right? By how exactly does it help accessibility?
Geoff Graham on Nov 6, 2025
Back to Top