Posts tagged with “css”

2025

Flexible Menu Animation with Anchored Container Queries

Posted on

Two hands with intertwined index fingers. Each index finger has a black anchor tatoo.

We can query the currently active fallback position and apply different styles with CSS only.

Read More

Let's Play Accordion with the HTML details element

Posted on

An older man sitting on a chair in front of a doorway, playing accordion.

An in-depth look at the new capabilities of the native disclosure element.

Read More

How to Create an Accessible Table with Clickable Rows

Posted on

A woman touches the screen of a smartphone with her index finger.

Extend the reach of your buttons to support keyboard and screen reader users.

Read More

Let's build an Accessible Menu with Modern Web Features

Posted on

A skateboarder in mid air jump, like a menu panel popping up.

A step by step guide, using the Popover API and CSS Anchor Positioning.

Read More

Accessibility Engineering — Let the Web Platform do the Work

Posted on

Lines of code are projected onto a woman who's looking at the camera.

Harness the power of native buttons, dialogs, form controls, and disclosure widgets.

Read More

2024

Placeholder Text needs Good Color Contrast

Posted on

An open book on a table with the word rules clearly visible.

Use the ::placeholder CSS pseudo-element to improve your website's accessibility.

Read More

How to build Accessible Navigation Menus with the Popover API

Posted on

A hand holding up a compass for navigation. A rocky coast with trees is visible in the background.

Leveraging the power of modern web features, you can quickly create awesome navigation menus.

Read More

Native Dialogs and the Popover API — What you need to know

Posted on

Several pancakes stacked on top of each other.

Learn how to animate dialogs and popovers, correctly nest them, and close dialogs on backdrop click.

Read More

Will the CSS Scope Feature replace Angular's View Encapsulation?

Posted on

A box with six donuts in different colors.

Learn how to use native scoping and create code that is easier to read and debug.

Read More

Support different color themes with a two-color focus indicator

Posted on

Closeup of a person's hands typing on a laptop keyboard.

Create an accessible, universal focus indicator that works in light and dark mode.

Read More

Accessible Alerts made easy by the Popover API

Posted on

Man speaking into a megaphone.

Inform the user of important events without interrupting their current task.

Read More

2023

How To Meet WCAG 2.2 — Some Practical Examples

Posted on

A woman's face partially hidden behind a book with a green cover.

A quick overview of the new success criteria and some practical examples for specific use cases.

Read More

Make your content pop with the Popover API and CSS Anchor Positioning

Posted on

A skateboarder in mid air jump.

Building accessible menus, tooltips, and date pickers has never been this easy.

Read More

Unleash the Power of Inline SVG Images

Posted on

Woman painting a cat figure on a piece of paper.

An inline SVG image can be easily customized with CSS and is highly flexible.

Read More

How the Description List Element improves Accessibility and the Developer Experience

Posted on

Two people discussing the HTML code on the laptop monitor in front of them.

Markup any list of key-value pairs to make your code more readable and convey semantic information to screen readers.

Read More

Responsive Component Design with CSS Container Queries

Posted on

Different size coffee cans stacked on top of each other.

Create responsive, reusable components that adapt to the available space of their container.

Read More

Design Perfectly Aligned Layouts with CSS Subgrid

Posted on

A chessboard with a grid of rows and columns.

Nested grid containers can align their rows and columns using the subgrid feature.

Read More

Create an Accessible News Carousel as an Angular Standalone Component

Posted on

A carousel at night with bright lights. Figures of a horse and tiger are visible.

Using Angular, ARIA attributes and some powerful CSS, we create an accessible, responsive web carousel.

Read More

2022

Looking Back at 2022 — My First Year of Blogging

Posted on

People celebrate and raise glasses of wine for a toast.

One year ago I started my blog about web development and accessibility. A retrospective and a look ahead.

Read More

3 Ways how Web Developers also benefit from Accessibility

Posted on

A web developer sitting at her desk, facing three monitors. Lines of code are visible on a monitor.

Semantic HTML is easy to read and maintain, keyboard operable by default, and works well with CSS.

Read More

Building Accessible Toggle Buttons in React

Posted on

A guy standing behind a DJ desk with many buttons and knobs.

Using the button element together with the switch role creates an accessible experience.

Read More

CSS tweaks for better visibility in Forced Colors Mode

Posted on

A mix of different colors on a canvas.

Find out how forced colors mode works for websites and how to improve the user experience.

Read More

Using CSS Cascade Layers in Angular

Posted on

A cake with several visible layers.

Structure your styles and avoid pesky conflicts with specificity or order of appearance.

Read More

Why you should use the Native Dialog Element

Posted on

Two white speech bubbles on a pink background.

The dialog element is easy to use and accessible by default, apart from some minor issues.

Read More

Creating a fancy, accessible File Input in 3 Steps

Posted on

A person is looking for a document in a briefcase.

Learn how to apply custom styling to the native HTML file input element.

Read More

How to develop a keen sense for Digital Accessibility

Posted on

Fingers touch the page of a book in Braille.

Approach the topic step by step and be open to new perspectives.

Read More

Create Accessible Web Forms with Custom Styling

Posted on

Brush and spatula on a brightly painted canvas.

How to apply custom styling to native form controls and create accessible web forms with a consistent look across all platforms.

Read More

Spell it out! Determine how Screen Readers should read text

Posted on

Woman Speaking into a Megaphone.

Use the speak-as CSS property to tell screen readers how to read numbers and abbreviations.

Read More

Provide highly visible Keyboard Focus with :focus-visible

Posted on

Closeup of a person's hands typing on a laptop keyboard.

Fancy design or accessibility? The :focus-visible pseudo-class enables you to support keyboard-only users and satisfy clients.

Read More