<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>153212</bug_id>
          
          <creation_ts>2016-01-18 15:47:21 -0800</creation_ts>
          <short_desc>AX: CapsLock indicator in password fields not exposed to ATs</short_desc>
          <delta_ts>2016-01-18 15:49:04 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Accessibility</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>153062</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Joanmarie Diggs">jdiggs</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cfleizach</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1156469</commentid>
    <comment_count>0</comment_count>
    <who name="Joanmarie Diggs">jdiggs</who>
    <bug_when>2016-01-18 15:47:21 -0800</bug_when>
    <thetext>The CapsLock indicator of password fields is not being exposed to ATs -- at least in Gtk+. I believe this may also be true for OS X. (@Chris, please confirm.)

Steps to reproduce in OS X (I&apos;m using 10.11.2 and Safari built from source just now):

1. Load this Layout Test in Safari: https://trac.webkit.org/browser/trunk/LayoutTests/accessibility/gtk/entry-and-password.html
2. Launch VoiceOver
3. Tab to the text input field
4. Press CapsLock twice quickly to toggle CapsLock on
5. Tab to the password input field for which the CapsLock indicator is displayed

Expected results: VoiceOver would announce the fact that CapsLock is on.
Actual results: VoiceOver doesn&apos;t announce the fact that CapsLock is on.

Examining the accessibility tree using XCode&apos;s Accessibility Inspector, I see:

-&gt; AXWebArea
  -&gt; AXGroup
     -&gt; AXTextField
     -&gt; AXTextField:AXSecureTextField [see note 1]
        -&gt; AXGroup [see note 2]

Based on the highlighting done by the Accessibility Inspector:

note 1: This is the entire input widget which holds the text input area, the CapsLock indicator, and a key with a drop-down indicator.

note 2: This is the text input area.

@Chris: If I&apos;m wrong about the above, let&apos;s slap an [ATK] in the Summary and update the OS. But if I&apos;m right, it would be nice to have a cross-platform solution for exposing this to ATs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1156470</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2016-01-18 15:47:33 -0800</bug_when>
    <thetext>&lt;rdar://problem/24231679&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>