<?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: Alessia</title>
    <description>The latest articles on DEV Community by Alessia (@alessia).</description>
    <link>https://dev.to/alessia</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F631022%2Fdad8e5cf-7040-4ca1-a004-0dae848453e7.JPG</url>
      <title>DEV Community: Alessia</title>
      <link>https://dev.to/alessia</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alessia"/>
    <language>en</language>
    <item>
      <title>Design Pattern - Slider (Weirdness regarding Voiceover &amp; NVDA)</title>
      <dc:creator>Alessia</dc:creator>
      <pubDate>Fri, 14 May 2021 09:36:58 +0000</pubDate>
      <link>https://dev.to/alessia/design-pattern-slider-weirdness-regarding-voiceover-nvda-2eo0</link>
      <guid>https://dev.to/alessia/design-pattern-slider-weirdness-regarding-voiceover-nvda-2eo0</guid>
      <description>&lt;p&gt;&lt;a href="https://www.w3.org/TR/wai-aria-practices-1.1/#slider"&gt;Design Pattern - Slider&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Version&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;VoiceOver&lt;/strong&gt; Utility: Version 9 (562.860) on macOS Mojave Version 10.14.6&lt;/li&gt;
&lt;li&gt;NonVisual Desktop Access(&lt;strong&gt;NVDA&lt;/strong&gt;): Version 2020.3&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Weirdness&lt;/strong&gt;&lt;br&gt;
When &lt;strong&gt;using arrow keys to change&lt;/strong&gt; the value of the slider by one step, if the value of &lt;code&gt;aria-valuenow&lt;/code&gt; is something like 0.56 (between 0 and 1), Voiceover will only read out 0.5 at the first change then stop announcing anything regardless of the value change, while NVDA will read out 0.560...001 or something similar (more decimal places out of nowhere).&lt;/p&gt;

&lt;p&gt;If the value of &lt;code&gt;aria-valuenow&lt;/code&gt; is 1.3 (one decimal place) or &lt;strong&gt;integer&lt;/strong&gt;, Voiceover can work as expected (announce the value as it is). NVDA is still acting weirdly with value having one decimal place.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Better use integer for &lt;code&gt;aria-valuetext&lt;/code&gt; or &lt;code&gt;aria-valuenow&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Known Inconsistent Behaviour&lt;/strong&gt;&lt;br&gt;
VoiceOver will read out current status at first while NVDA will do at last (eg. voiceOver: &lt;code&gt;aria-valuetext&lt;/code&gt; or &lt;code&gt;aria-valuenow&lt;/code&gt;, &lt;code&gt;aria-label&lt;/code&gt;; NVDA: &lt;code&gt;aria-label&lt;/code&gt;, &lt;code&gt;aria-valuetext&lt;/code&gt; or &lt;code&gt;aria-valuenow&lt;/code&gt;)&lt;/p&gt;

</description>
      <category>a11y</category>
    </item>
  </channel>
</rss>
