<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: A11Y Practice</title>
    <description>The latest articles on DEV Community by A11Y Practice (@a11y_practice_be4b9244508).</description>
    <link>https://dev.to/a11y_practice_be4b9244508</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4140425%2F40a93fda-b6b9-4940-a9c9-64c391dfab46.png</url>
      <title>DEV Community: A11Y Practice</title>
      <link>https://dev.to/a11y_practice_be4b9244508</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/a11y_practice_be4b9244508"/>
    <language>en</language>
    <item>
      <title>Focusable Is Not Keyboard-Operable: WCAG 2.1.1 on Custom Controls</title>
      <dc:creator>A11Y Practice</dc:creator>
      <pubDate>Thu, 24 Sep 2026 05:20:33 +0000</pubDate>
      <link>https://dev.to/a11y_practice_be4b9244508/focusable-is-not-keyboard-operable-wcag-211-on-custom-controls-1hm4</link>
      <guid>https://dev.to/a11y_practice_be4b9244508/focusable-is-not-keyboard-operable-wcag-211-on-custom-controls-1hm4</guid>
      <description>&lt;p&gt;You Tab to a custom checkbox. The focus ring shows up. You press Space - nothing. Click with the mouse and it toggles.&lt;/p&gt;

&lt;p&gt;So is it accessible?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;WCAG 2.1.1 Keyboard&lt;/strong&gt; says the &lt;em&gt;functionality&lt;/em&gt; must be available from a keyboard. Landing focus on the control is not enough.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why tools miss it
&lt;/h3&gt;

&lt;p&gt;In the broken lab case, the accessibility tree still exposes a checkbox with the right name and checked state. VoiceOver can announce it like a normal checkbox. The gap is the missing key handler (&lt;code&gt;onClick&lt;/code&gt; only).&lt;/p&gt;

&lt;p&gt;Same story for a custom radiogroup where every option has &lt;code&gt;tabIndex={0}&lt;/code&gt; and arrow keys do nothing: the tree looks mostly fine; keyboard testing does not.&lt;/p&gt;

&lt;h3&gt;
  
  
  What to verify manually
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Checkbox / switch: Space toggles&lt;/li&gt;
&lt;li&gt;Radiogroup: arrows move selection; preferably one tab stop (roving tabindex)&lt;/li&gt;
&lt;li&gt;Do not trust "focusable + role" alone&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Practice it
&lt;/h3&gt;

&lt;p&gt;I published a walkthrough on &lt;strong&gt;A11Y in Practice&lt;/strong&gt; with broken vs fixed paths on the same free lab:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Video: &lt;a href="https://youtu.be/7B1GsZny4pc" rel="noopener noreferrer"&gt;https://youtu.be/7B1GsZny4pc&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Lab: &lt;a href="https://wasexamprep.com/labs/custom-controls/keyboard-operation" rel="noopener noreferrer"&gt;https://wasexamprep.com/labs/custom-controls/keyboard-operation&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Short: &lt;a href="https://youtube.com/shorts/Fii5VUN9GhI" rel="noopener noreferrer"&gt;https://youtube.com/shorts/Fii5VUN9GhI&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Blog: &lt;a href="https://wasexamprep.com/blog/focusable-is-not-keyboard-operable" rel="noopener noreferrer"&gt;https://wasexamprep.com/blog/focusable-is-not-keyboard-operable&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Part of WAS Exam Prep / WAS Lab study notes (independent; not affiliated with IAAP or W3C).&lt;/p&gt;

&lt;p&gt;If this helped, the takeaway I keep repeating: &lt;strong&gt;roles name the widget. Keys make it usable.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>a11y</category>
      <category>wcag</category>
      <category>webdev</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
