Changeset 194


Ignore:
Timestamp:
08/23/13 19:28:44 (6 years ago)
Author:
nhoyt
Message:

Added rule categories Keyboard Support and Navigation, deleted Layout/Order? category, renamed categories: Links/Navigation? to Links, Structure to Structure/Content? and Styles to Styles/Readability?.

Location:
trunk/proto-13/chrome
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/proto-13/chrome/content/ai-common.js

    r178 r194  
    1818    'STYLES', 
    1919    'IMAGES', 
     20    'LINKS', 
    2021    'TABLES', 
    21     'LINKS', 
    2222    'FORMS', 
    2323    'WIDGETS', 
    2424    'MEDIA', 
    25     'LAYOUT', 
     25    'KEYBOARD', 
     26    'NAVIGATION', 
    2627    'ALL_RULES', 
    2728    'WCAG_1_1', 
  • trunk/proto-13/chrome/content/ai-sidebar.js

    r192 r194  
    160160    return nls.getString('view.title.images'); 
    161161    break; 
     162  case view.LINKS: 
     163    return nls.getString('view.title.links'); 
     164    break; 
    162165  case view.TABLES: 
    163166    return nls.getString('view.title.tables'); 
    164167    break; 
    165   case view.LINKS: 
    166     return nls.getString('view.title.links'); 
    167     break; 
    168168  case view.FORMS: 
    169169    return nls.getString('view.title.forms'); 
     
    175175    return nls.getString('view.title.media'); 
    176176    break; 
    177   case view.LAYOUT: 
    178     return nls.getString('view.title.layout'); 
     177  case view.KEYBOARD: 
     178    return nls.getString('view.title.keyboard'); 
     179    break; 
     180  case view.NAVIGATION: 
     181    return nls.getString('view.title.navigation'); 
    179182    break; 
    180183  case view.ALL_RULES: 
  • trunk/proto-13/chrome/content/ai-sidebar.xul

    r192 r194  
    3939      label="&ai-label.view.images;" 
    4040      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.IMAGES)"/> 
     41    <command id="ainspector-cmd-view-links" 
     42      label="&ai-label.view.links;" 
     43      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.LINKS)"/> 
    4144    <command id="ainspector-cmd-view-tables" 
    4245      label="&ai-label.view.tables;" 
    4346      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.TABLES)"/> 
    44     <command id="ainspector-cmd-view-links" 
    45       label="&ai-label.view.links;" 
    46       oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.LINKS)"/> 
    4747    <command id="ainspector-cmd-view-forms" 
    4848      label="&ai-label.view.forms;" 
     
    5454      label="&ai-label.view.media;" 
    5555      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.MEDIA)"/> 
    56     <command id="ainspector-cmd-view-layout" 
    57       label="&ai-label.view.layout;" 
    58       oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.LAYOUT)"/> 
     56    <command id="ainspector-cmd-view-keyboard" 
     57      label="&ai-label.view.keyboard;" 
     58      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.KEYBOARD)"/> 
     59    <command id="ainspector-cmd-view-navigation" 
     60      label="&ai-label.view.navigation;" 
     61      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.NAVIGATION)"/> 
    5962    <command id="ainspector-cmd-view-all-rules" 
    6063      label="&ai-label.view.all-rules;" 
     
    112115      command="ainspector-cmd-view-images" 
    113116      key="3" modifiers="shift accel"/> 
     117    <key id="ainspector-key-view-links" 
     118      command="ainspector-cmd-view-links" 
     119      key="5" modifiers="shift accel"/> 
    114120    <key id="ainspector-key-view-tables" 
    115121      command="ainspector-cmd-view-tables" 
    116122      key="4" modifiers="shift accel"/> 
    117     <key id="ainspector-key-view-links" 
    118       command="ainspector-cmd-view-links" 
    119       key="5" modifiers="shift accel"/> 
    120123    <key id="ainspector-key-view-forms" 
    121124      command="ainspector-cmd-view-forms" 
     
    127130      command="ainspector-cmd-view-media" 
    128131      key="8" modifiers="shift accel"/> 
    129     <key id="ainspector-key-view-layout" 
    130       command="ainspector-cmd-view-layout" 
     132    <key id="ainspector-key-view-keyboard" 
     133      command="ainspector-cmd-view-keyboard" 
    131134      key="9" modifiers="shift accel"/> 
     135    <key id="ainspector-key-view-navigation" 
     136      command="ainspector-cmd-view-navigation" 
     137      key="0" modifiers="shift accel"/> 
    132138    <key id="ainspector-key-view-all-rules" 
    133139      command="ainspector-cmd-view-all-rules" 
    134       key="0" modifiers="shift accel"/> 
     140      key="+" modifiers="shift accel"/> 
    135141    <!-- navigation keys --> 
    136142    <key id="ainspector-key-back-one-level" 
  • trunk/proto-13/chrome/content/datasource.js

    r189 r194  
    189189    break; 
    190190  case view.STRUCTURE: 
    191     return OpenAjax.a11y.RULE_CATEGORIES.STRUCTURE; 
     191    return OpenAjax.a11y.RULE_CATEGORIES.STRUCTURE_CONTENT; 
    192192    break; 
    193193  case view.STYLES: 
    194     return OpenAjax.a11y.RULE_CATEGORIES.STYLES; 
     194    return OpenAjax.a11y.RULE_CATEGORIES.STYLES_READABILITY; 
    195195    break; 
    196196  case view.IMAGES: 
    197197    return OpenAjax.a11y.RULE_CATEGORIES.IMAGES; 
    198198    break; 
    199   case view.TABLES: 
    200     return OpenAjax.a11y.RULE_CATEGORIES.TABLES; 
    201     break; 
    202199  case view.LINKS: 
    203200    return OpenAjax.a11y.RULE_CATEGORIES.LINKS; 
    204201    break; 
     202  case view.TABLES: 
     203    return OpenAjax.a11y.RULE_CATEGORIES.DATA_TABLES; 
     204    break; 
    205205  case view.FORMS: 
    206     return OpenAjax.a11y.RULE_CATEGORIES.CONTROLS; 
     206    return OpenAjax.a11y.RULE_CATEGORIES.FORM_CONTROLS; 
    207207    break; 
    208208  case view.WIDGETS: 
    209     return OpenAjax.a11y.RULE_CATEGORIES.WIDGETS; 
     209    return OpenAjax.a11y.RULE_CATEGORIES.WIDGETS_SCRIPTS; 
    210210    break; 
    211211  case view.MEDIA: 
    212212    return OpenAjax.a11y.RULE_CATEGORIES.AUDIO_VIDEO; 
    213213    break; 
    214   case view.LAYOUT: 
    215     return OpenAjax.a11y.RULE_CATEGORIES.LAYOUT; 
     214  case view.KEYBOARD: 
     215    return OpenAjax.a11y.RULE_CATEGORIES.KEYBOARD_SUPPORT; 
     216    break; 
     217  case view.NAVIGATION: 
     218    return OpenAjax.a11y.RULE_CATEGORIES.NAVIGATION_FINDABILITY; 
    216219    break; 
    217220  case view.ALL_RULES: 
  • trunk/proto-13/chrome/content/summary-rc.xul

    r165 r194  
    4444          </row> 
    4545          <row class="tbl-summary-data-even" 
     46            id="ainspector-summary-styles"> 
     47            <label class="tbl-summary-name text-link" 
     48              value="&ai-label.title.styles;" 
     49              onclick="ainspectorSidebar.selectView(ainspector.viewEnum.STYLES)"/> 
     50          </row> 
     51          <row class="tbl-summary-data" 
    4652            id="ainspector-summary-images"> 
    4753            <label class="tbl-summary-name text-link" 
     
    4955              onclick="ainspectorSidebar.selectView(ainspector.viewEnum.IMAGES)"/> 
    5056          </row> 
     57          <row class="tbl-summary-data-even" 
     58            id="ainspector-summary-links"> 
     59            <label class="tbl-summary-name text-link" 
     60              value="&ai-label.title.links;" 
     61              onclick="ainspectorSidebar.selectView(ainspector.viewEnum.LINKS)"/> 
     62          </row> 
    5163          <row class="tbl-summary-data" 
     64            id="ainspector-summary-tables"> 
     65            <label class="tbl-summary-name text-link" 
     66              value="&ai-label.title.tables;" 
     67              onclick="ainspectorSidebar.selectView(ainspector.viewEnum.TABLES)"/> 
     68          </row> 
     69          <row class="tbl-summary-data-even" 
    5270            id="ainspector-summary-forms"> 
    5371            <label class="tbl-summary-name text-link" 
     
    5573              onclick="ainspectorSidebar.selectView(ainspector.viewEnum.FORMS)"/> 
    5674          </row> 
    57           <row class="tbl-summary-data-even" 
    58             id="ainspector-summary-tables"> 
     75          <row class="tbl-summary-data" 
     76            id="ainspector-summary-widgets"> 
    5977            <label class="tbl-summary-name text-link" 
    60               value="&ai-label.title.tables;" 
    61               onclick="ainspectorSidebar.selectView(ainspector.viewEnum.TABLES)"/> 
    62           </row> 
    63           <row class="tbl-summary-data" 
    64             id="ainspector-summary-links"> 
    65             <label class="tbl-summary-name text-link" 
    66               value="&ai-label.title.links;" 
    67               onclick="ainspectorSidebar.selectView(ainspector.viewEnum.LINKS)"/> 
     78              value="&ai-label.title.widgets;" 
     79              onclick="ainspectorSidebar.selectView(ainspector.viewEnum.WIDGETS)"/> 
    6880          </row> 
    6981          <row class="tbl-summary-data-even" 
     
    7486          </row> 
    7587          <row class="tbl-summary-data" 
    76             id="ainspector-summary-styles"> 
     88            id="ainspector-summary-keyboard"> 
    7789            <label class="tbl-summary-name text-link" 
    78               value="&ai-label.title.styles;" 
    79               onclick="ainspectorSidebar.selectView(ainspector.viewEnum.STYLES)"/> 
     90              value="&ai-label.title.keyboard;" 
     91              onclick="ainspectorSidebar.selectView(ainspector.viewEnum.KEYBOARD)"/> 
    8092          </row> 
    8193          <row class="tbl-summary-data-even" 
    82             id="ainspector-summary-layout"> 
     94            id="ainspector-summary-navigation" 
     95            style="border-bottom: 1px solid #bbb"> 
    8396            <label class="tbl-summary-name text-link" 
    84               value="&ai-label.title.layout;" 
    85               onclick="ainspectorSidebar.selectView(ainspector.viewEnum.LAYOUT)"/> 
     97              value="&ai-label.title.navigation;" 
     98              onclick="ainspectorSidebar.selectView(ainspector.viewEnum.NAVIGATION)"/> 
    8699          </row> 
    87100          <row class="tbl-summary-data" 
    88             id="ainspector-summary-widgets" 
    89             style="border-bottom: 1px solid #bbb"> 
    90             <label class="tbl-summary-name text-link" 
    91               value="&ai-label.title.widgets;" 
    92               onclick="ainspectorSidebar.selectView(ainspector.viewEnum.WIDGETS)"/> 
    93           </row> 
    94           <row class="tbl-summary-data-even" 
    95101            id="ainspector-summary-all-rules" 
    96102            style="border-bottom: 1px solid #bbb"> 
  • trunk/proto-13/chrome/content/view-summary.js

    r165 r194  
    2121  { id: "ainspector-summary-styles" }, 
    2222  { id: "ainspector-summary-images" }, 
     23  { id: "ainspector-summary-links" }, 
    2324  { id: "ainspector-summary-tables" }, 
    24   { id: "ainspector-summary-links" }, 
    2525  { id: "ainspector-summary-forms" }, 
    2626  { id: "ainspector-summary-widgets" }, 
    2727  { id: "ainspector-summary-media" }, 
    28   { id: "ainspector-summary-layout" }, 
     28  { id: "ainspector-summary-keyboard" }, 
     29  { id: "ainspector-summary-navigation" }, 
    2930  { id: "ainspector-summary-all-rules" }, 
    3031 
  • trunk/proto-13/chrome/content/views-button.js

    r166 r194  
    3636    return document.getElementById("ainspector-sidebar-view-images"); 
    3737    break; 
     38  case view.LINKS: 
     39    return document.getElementById("ainspector-sidebar-view-links"); 
     40    break; 
    3841  case view.TABLES: 
    3942    return document.getElementById("ainspector-sidebar-view-tables"); 
    40     break; 
    41   case view.LINKS: 
    42     return document.getElementById("ainspector-sidebar-view-links"); 
    4343    break; 
    4444  case view.FORMS: 
     
    5151    return document.getElementById("ainspector-sidebar-view-media"); 
    5252    break; 
    53   case view.LAYOUT: 
    54     return document.getElementById("ainspector-sidebar-view-layout"); 
     53  case view.KEYBOARD: 
     54    return document.getElementById("ainspector-sidebar-view-keyboard"); 
     55    break; 
     56  case view.NAVIGATION: 
     57    return document.getElementById("ainspector-sidebar-view-navigation"); 
    5558    break; 
    5659  case view.ALL_RULES: 
  • trunk/proto-13/chrome/content/views-button.xul

    r165 r194  
    2121                command="ainspector-cmd-view-structure"/> 
    2222      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     23                id="ainspector-sidebar-view-styles" 
     24                command="ainspector-cmd-view-styles"/> 
     25      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
    2326                id="ainspector-sidebar-view-images" 
    2427                command="ainspector-cmd-view-images"/> 
     28      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     29                id="ainspector-sidebar-view-links" 
     30                command="ainspector-cmd-view-links"/> 
     31      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     32                id="ainspector-sidebar-view-tables" 
     33                command="ainspector-cmd-view-tables"/> 
    2534      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
    2635                id="ainspector-sidebar-view-forms" 
    2736                command="ainspector-cmd-view-forms"/> 
    2837      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
    29                 id="ainspector-sidebar-view-tables" 
    30                 command="ainspector-cmd-view-tables"/> 
    31       <menuitem type="radio" name="ainspector-sidebar-view-radio" 
    32                 id="ainspector-sidebar-view-links" 
    33                 command="ainspector-cmd-view-links"/> 
     38                id="ainspector-sidebar-view-widgets" 
     39                command="ainspector-cmd-view-widgets"/> 
    3440      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
    3541                id="ainspector-sidebar-view-media" 
    3642                command="ainspector-cmd-view-media"/> 
    3743      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
    38                 id="ainspector-sidebar-view-styles" 
    39                 command="ainspector-cmd-view-styles"/> 
     44                id="ainspector-sidebar-view-keyboard" 
     45                command="ainspector-cmd-view-keyboard"/> 
    4046      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
    41                 id="ainspector-sidebar-view-layout" 
    42                 command="ainspector-cmd-view-layout"/> 
    43       <menuitem type="radio" name="ainspector-sidebar-view-radio" 
    44                 id="ainspector-sidebar-view-widgets" 
    45                 command="ainspector-cmd-view-widgets"/> 
     47                id="ainspector-sidebar-view-navigation" 
     48                command="ainspector-cmd-view-navigation"/> 
    4649      <menuseparator/> 
    4750      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
  • trunk/proto-13/chrome/locale/en-US/ai-sidebar.dtd

    r192 r194  
    2424 
    2525<!ENTITY ai-label.view.summary     "Summary"> 
    26 <!ENTITY ai-label.view.structure   "Structure"> 
    27 <!ENTITY ai-label.view.styles      "Styles"> 
     26<!ENTITY ai-label.view.structure   "Structure/Content"> 
     27<!ENTITY ai-label.view.styles      "Styles/Readability"> 
    2828<!ENTITY ai-label.view.images      "Images"> 
     29<!ENTITY ai-label.view.links       "Links"> 
    2930<!ENTITY ai-label.view.tables      "Data Tables"> 
    30 <!ENTITY ai-label.view.links       "Links/Navigation"> 
    3131<!ENTITY ai-label.view.forms       "Form Controls"> 
    3232<!ENTITY ai-label.view.widgets     "Widgets/Scripts"> 
    3333<!ENTITY ai-label.view.media       "Audio/Video"> 
    34 <!ENTITY ai-label.view.layout      "Layout/Order"> 
     34<!ENTITY ai-label.view.keyboard    "Keyboard Support"> 
     35<!ENTITY ai-label.view.navigation  "Navigation"> 
    3536<!ENTITY ai-label.view.all-rules   "All Rules"> 
    3637 
    37 <!ENTITY ai-menukey.view.summary   "u"> 
    38 <!ENTITY ai-menukey.view.structure "S"> 
    39 <!ENTITY ai-menukey.view.styles    "y"> 
    40 <!ENTITY ai-menukey.view.images    "I"> 
    41 <!ENTITY ai-menukey.view.tables    "T"> 
    42 <!ENTITY ai-menukey.view.links     "L"> 
    43 <!ENTITY ai-menukey.view.forms     "F"> 
    44 <!ENTITY ai-menukey.view.widgets   "W"> 
    45 <!ENTITY ai-menukey.view.media     "A"> 
    46 <!ENTITY ai-menukey.view.layout    "o"> 
    47 <!ENTITY ai-menukey.view.all-rules "R"> 
     38<!ENTITY ai-menukey.view.summary     "u"> 
     39<!ENTITY ai-menukey.view.structure   "S"> 
     40<!ENTITY ai-menukey.view.styles      "y"> 
     41<!ENTITY ai-menukey.view.images      "I"> 
     42<!ENTITY ai-menukey.view.links       "L"> 
     43<!ENTITY ai-menukey.view.tables      "T"> 
     44<!ENTITY ai-menukey.view.forms       "F"> 
     45<!ENTITY ai-menukey.view.widgets     "W"> 
     46<!ENTITY ai-menukey.view.media       "A"> 
     47<!ENTITY ai-menukey.view.keyboard    "K"> 
     48<!ENTITY ai-menukey.view.navigation  "N"> 
     49<!ENTITY ai-menukey.view.all-rules   "R"> 
    4850 
    4951<!-- rule category titles --> 
    5052 
    51 <!ENTITY ai-label.title.structure  "Structure"> 
    52 <!ENTITY ai-label.title.styles     "Styles"> 
     53<!ENTITY ai-label.title.structure  "Structure/Content"> 
     54<!ENTITY ai-label.title.styles     "Styles/Readability"> 
    5355<!ENTITY ai-label.title.images     "Images"> 
     56<!ENTITY ai-label.title.links      "Links"> 
    5457<!ENTITY ai-label.title.tables     "Data Tables"> 
    55 <!ENTITY ai-label.title.links      "Links/Navigation"> 
    5658<!ENTITY ai-label.title.forms      "Form Controls"> 
    5759<!ENTITY ai-label.title.widgets    "Widgets/Scripts"> 
    5860<!ENTITY ai-label.title.media      "Audio/Video"> 
    59 <!ENTITY ai-label.title.layout     "Layout/Order"> 
     61<!ENTITY ai-label.title.keyboard   "Keyboard Support"> 
     62<!ENTITY ai-label.title.navigation "Navigation"> 
    6063<!ENTITY ai-label.title.all-rules  "All Rules"> 
    6164 
  • trunk/proto-13/chrome/locale/en-US/ai-sidebar.properties

    r182 r194  
    11# View Titles 
    22 
    3 view.title.summary   = Summary 
    4 view.title.structure = Structure 
    5 view.title.styles    = Styles 
    6 view.title.images    = Images 
    7 view.title.tables    = Data Tables 
    8 view.title.links     = Links/Navigation 
    9 view.title.forms     = Form Controls 
    10 view.title.widgets   = Widgets/Scripts 
    11 view.title.media     = Audio/Video 
    12 view.title.layout    = Layout/Order 
    13 view.title.all-rules = All Rules 
     3view.title.summary     = Summary 
     4view.title.structure   = Structure/Content 
     5view.title.styles      = Styles/Readability 
     6view.title.images      = Images 
     7view.title.links       = Links 
     8view.title.tables      = Data Tables 
     9view.title.forms       = Form Controls 
     10view.title.widgets     = Widgets/Scripts 
     11view.title.media       = Audio/Video 
     12view.title.keyboard    = Keyboard Support 
     13view.title.navigation  = Navigation 
     14view.title.all-rules   = All Rules 
    1415 
    15 view.title.wcag-1-1  = 1.1 Text Alternatives 
    16 view.title.wcag-1-2  = 1.2 Time-based Media 
    17 view.title.wcag-1-3  = 1.3 Adaptable 
    18 view.title.wcag-1-4  = 1.4 Distinguishable 
    19 view.title.wcag-2-1  = 2.1 Keyboard Accessible 
    20 view.title.wcag-2-2  = 2.2 Enough Time 
    21 view.title.wcag-2-3  = 2.3 Seizures 
    22 view.title.wcag-2-4  = 2.4 Navigable 
    23 view.title.wcag-3-1  = 3.1 Readable 
    24 view.title.wcag-3-2  = 3.2 Predictable 
    25 view.title.wcag-3-3  = 3.3 Input Assistance 
    26 view.title.wcag-4-1  = 4.1 Compatible 
     16view.title.wcag-1-1    = 1.1 Text Alternatives 
     17view.title.wcag-1-2    = 1.2 Time-based Media 
     18view.title.wcag-1-3    = 1.3 Adaptable 
     19view.title.wcag-1-4    = 1.4 Distinguishable 
     20view.title.wcag-2-1    = 2.1 Keyboard Accessible 
     21view.title.wcag-2-2    = 2.2 Enough Time 
     22view.title.wcag-2-3    = 2.3 Seizures 
     23view.title.wcag-2-4    = 2.4 Navigable 
     24view.title.wcag-3-1    = 3.1 Readable 
     25view.title.wcag-3-2    = 3.2 Predictable 
     26view.title.wcag-3-3    = 3.3 Input Assistance 
     27view.title.wcag-4-1    = 4.1 Compatible 
    2728 
    2829view.title.details-suffix = \u0020Rule 
     
    3031# Rule Information 
    3132 
    32 info.compliance      = COMPLIANCE 
    33 info.definition      = DEFINITION 
    34 info.purpose         = PURPOSE 
    35 info.result          = RESULT 
    36 info.summary         = SUMMARY 
    37 info.target-elements = TARGET ELEMENTS 
    38 info.techniques      = TECHNIQUES 
    39 info.info-links      = ADDITIONAL INFO 
    40 info.wcag-sc         = WCAG SUCCESS CRITERIA 
     33info.compliance        = COMPLIANCE 
     34info.definition        = DEFINITION 
     35info.purpose           = PURPOSE 
     36info.result            = RESULT 
     37info.summary           = SUMMARY 
     38info.target-elements   = TARGET ELEMENTS 
     39info.techniques        = TECHNIQUES 
     40info.info-links        = ADDITIONAL INFO 
     41info.wcag-sc           = WCAG SUCCESS CRITERIA 
    4142 
    42 info.noSelection     = nothing selected 
    43 info.recommended     = Recommended 
    44 info.required        = Required 
    45 info.wcag-level      = WCAG 2.0 Level\u0020 
     43info.noSelection       = nothing selected 
     44info.recommended       = Recommended 
     45info.required          = Required 
     46info.wcag-level        = WCAG 2.0 Level\u0020 
    4647 
    4748rule.level.a*  = A* 
Note: See TracChangeset for help on using the changeset viewer.