Cristian Diaz Cristian is a frontend developer from Colombia. He enjoys writing about what he learns and is focusing his career on helping to make web content more accessible to everyone. His main areas of expertise are HTML, CSS, and web accessibility.

Stories by Cristian Diaz

Understanding HTML Landmarks How To Apply

Understanding HTML landmarks and how to apply them

Dev

We demystify HTML landmarks, discuss the nuances of different types, and show how to use them to help screen reader users navigate a site.

Cristian Diaz
Nov 9, 2023 ⋅ 17 min read
Creating Contrast Themes CSS Creating Prefers-Contrast JavaScript

Creating contrast themes with CSS prefers-contrast and JavaScript

Dev

We use CSS prefers-contrast to control website contrast and build a contrast theme selector with JavaScript to address OS limitations.

Cristian Diaz
Oct 25, 2023 ⋅ 11 min read
Consistent Accessible Color Palettes OKLCH

OKLCH in CSS: Consistent, accessible color palettes

Dev

We demonstrate how to use the oklch() color model in CSS to create a variety of consistent, accessible color palettes.

Cristian Diaz
Aug 10, 2023 ⋅ 15 min read
Fluid Vs. Responsive Typography CSS Clamp

Fluid vs. responsive typography with CSS clamp

Dev

We discuss how to use modern CSS techniques to optimize fonts for different screen sizes and explore creating fluid typography scales.

Cristian Diaz
Jul 17, 2023 ⋅ 8 min read
Design Vs. Accessibility CSS Visually-Hidden Class

Design vs. accessibility and the CSS visually-hidden class

Dev

We look using the CSS visually-hidden utility class to make elements available to users of assistive technologies without impacting design.

Cristian Diaz
Jun 14, 2023 ⋅ 12 min read
ARIA-Live Regions JavaScript Frameworks

ARIA-live regions for JavaScript frameworks

Dev

We give available options for creating ARIA-live regions and demonstrate tools for creating ARIA-live regions in React, Angular, and Vue.js.

Cristian Diaz
Mar 6, 2023 ⋅ 14 min read
Getting Started with CSS Custom Highlight API

Getting started with the CSS Custom Highlight API

Dev

Learn about features and performance of the CSS Custom Highlight API and some solutions it offers for usability and accessibility.

Cristian Diaz
Dec 15, 2022 ⋅ 12 min read
JavaScript Logo

Building accessible user interface tabs in JavaScript

Dev

Here’s everything you need to know to create an accessible tabbed user interface, including building the HTML structure, adding CSS styling, and adding JavaScript enhancements.

Cristian Diaz
Jul 21, 2022 ⋅ 19 min read