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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20088</bug_id>
          
          <creation_ts>2012-11-26 16:57:53 +0000</creation_ts>
          <short_desc>Discuss benefits of using role=application</short_desc>
          <delta_ts>2014-01-29 22:43:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Using ARIA in HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>a11y, aria</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominic Mazzoni">dmazzoni</reporter>
          <assigned_to name="dmacdona">david100</assigned_to>
          <cc>david100</cc>
    
    <cc>hans.hillen</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-bugzilla</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78840</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Mazzoni">dmazzoni</who>
    <bug_when>2012-11-26 16:57:53 +0000</bug_when>
    <thetext>The section on using role=application is good in that it cautions web developers from using role=application in cases where it could be harmful. However, I feel like what is missing is the *why*: why is it occasionally useful to use role=application, what are the actual effects? And why is it often harmful to use it, what are the negative consequences?

For example, I think it&apos;d be helpful to quickly note that for &quot;modal&quot; screen readers, most keystrokes are captured by the screen reader and not the web page when the user is in browse mode. This prevents screen reader users from having access to global keyboard shortcuts in a web app. Application mode means that screen reader shortcuts for browsing the page are no longer available, all keystrokes go to the page. The user won&apos;t be able to skip around the page by headings or read a paragraph of static text line-by-line. So, if the advantages of keyboard shortcuts outweigh the loss of those features, role=application is warranted.

I think that&apos;s clearer than the 90-95% guideline, which is arbitrary. A web app could only be 50% focusable controls but still benefit from role=application (with judicious use of role=document), and another web app could be 95% focusable controls but there&apos;d be no reason to use role=application because it has no global keyboard shortcuts.

Also maybe note that it is not necessary to use role=application to have control-specific keyboard shortcuts while the user is in focus mode: a custom control with ARIA role=listbox can easily capture all keys pressed including arrow keys, while the user is interacting with it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98696</commentid>
    <comment_count>1</comment_count>
    <who name="dmacdona">david100</who>
    <bug_when>2014-01-17 12:52:13 +0000</bug_when>
    <thetext>=======
For example, I think it&apos;d be helpful to quickly note that for &quot;modal&quot; screen readers, most keystrokes are captured by the screen reader and not the web page when the user is in browse mode. This prevents screen reader users from having access to global keyboard shortcuts in a web app. Application mode means that screen reader shortcuts for browsing the page are no longer available, all keystrokes go to the page. The user won&apos;t be able to skip around the page by headings or read a paragraph of static text line-by-line. So, if the advantages of keyboard shortcuts outweigh the loss of those features, role=application is warranted.

DONE
===========

I think that&apos;s clearer than the 90-95% guideline, which is arbitrary. A web app could only be 50% focusable controls but still benefit from role=application (with judicious use of role=document), and another web app could be 95% focusable controls but there&apos;d be no reason to use role=application because it has no global keyboard shortcuts.

DONE Already fixed in previous edits

=======

Also maybe note that it is not necessary to use role=application to have control-specific keyboard shortcuts while the user is in focus mode: a custom control with ARIA role=listbox can easily capture all keys pressed including arrow keys, while the user is interacting with it.

DONE</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98709</commentid>
    <comment_count>2</comment_count>
    <who name="dmacdona">david100</who>
    <bug_when>2014-01-17 13:21:55 +0000</bug_when>
    <thetext>This can now be closed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>