Accessible Button Focus Indicator
Explore how to implement accessible button focus indicators by applying a custom 2px solid blue outline with offset using CSS. This lesson helps you understand how to improve keyboard navigation and visual clarity for interactive elements without altering HTML or using JavaScript.
We'll cover the following...
We'll cover the following...
Problem description
Given an HTML page with a <button class="accessible-btn">Click Me</button>, write CSS to meet the following requirements: