Changeset 129


Ignore:
Timestamp:
03/06/13 22:52:40 (6 years ago)
Author:
nhoyt
Message:
  • Removed the following preferences: showPageManualChecks, showPass, showHidden. Also renamed showElemManualChecks to elementManualChecks and enableRecommendedRules to recommendedRules.
  • Changed spelling/names of some entities related to preferences.
  • Changed A+ to A* to denote basic rule.
  • Set columns Req and Pass to hidden by default in Rule Results table.
Location:
trunk/proto-11
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/proto-11/chrome/content/preferences/evaluation.js

    r67 r129  
    3030      if (name === 'ruleset') 
    3131        return prefUtils.getIntPref(name); 
    32       if (name === 'enableRecommendedRules') 
     32      if (name === 'recommendedRules') 
    3333        return prefUtils.getBoolPref(name); 
    3434      if (name === 'wcagLevel') 
    3535        return prefUtils.getIntPref(name); 
    36       if (name === 'showPageManualChecks') 
    37         return prefUtils.getBoolPref(name); 
    38       if (name === 'showElemManualChecks') 
    39         return prefUtils.getBoolPref(name); 
    40       if (name === 'showPass') 
    41         return prefUtils.getBoolPref(name); 
    42       if (name === 'showHidden') 
     36      if (name === 'elementManualChecks') 
    4337        return prefUtils.getBoolPref(name); 
    4438      if (name === 'layoutTables') 
     
    8882    break; 
    8983 
    90   case 'enableRecommendedRules': 
     84  case 'recommendedRules': 
    9185    break; 
    9286 
     
    9488    break; 
    9589 
    96   case 'showPageManualChecks': 
    97     break; 
    98  
    99   case 'showElemManualChecks': 
    100     break; 
    101  
    102   case 'showPass': 
    103     break; 
    104  
    105   case 'showHidden': 
     90  case 'elementManualChecks': 
    10691    break; 
    10792 
  • trunk/proto-11/chrome/content/preferences/evaluation.xul

    r127 r129  
    1010      <preference id="ai-ruleset-pref" type="int" 
    1111        name="extensions.ainspector.evaluation.ruleset"/> 
    12       <preference id="ai-enable-rec-rules-pref" type="bool" 
    13         name="extensions.ainspector.evaluation.enableRecommendedRules"/> 
    14  
     12      <preference id="ai-recommended-rules-pref" type="bool" 
     13        name="extensions.ainspector.evaluation.recommendedRules"/> 
    1514      <preference id="ai-wcag-level-pref" type="int" 
    1615        name="extensions.ainspector.evaluation.wcagLevel"/> 
    17  
    18       <preference id="ai-show-page-mc-pref" type="bool" 
    19         name="extensions.ainspector.evaluation.showPageManualChecks"/> 
    20       <preference id="ai-show-elem-mc-pref" type="bool" 
    21         name="extensions.ainspector.evaluation.showElemManualChecks"/> 
    22       <preference id="ai-show-pass-pref" type="bool" 
    23         name="extensions.ainspector.evaluation.showPass"/> 
    24       <preference id="ai-show-hidden-pref" type="bool" 
    25         name="extensions.ainspector.evaluation.showHidden"/> 
    26  
     16      <preference id="ai-element-manual-checks-pref" type="bool" 
     17        name="extensions.ainspector.evaluation.elementManualChecks"/> 
    2718      <preference id="ai-layout-tables-pref" type="bool" 
    2819        name="extensions.ainspector.evaluation.layoutTables"/> 
     
    3728          <radio id="ai-ruleset-strict" 
    3829            group="ai-ruleset-group" value="0" 
    39             label="&label.ruleset.aria.strict;"/> 
     30            label="&label.ruleset.aria-strict;"/> 
    4031          <radio id="ai-ruleset-transitional" 
    4132            group="ai-ruleset-group" value="1" 
    42             label="&label.ruleset.aria.transitional;"/> 
     33            label="&label.ruleset.aria-transitional;"/> 
    4334        </radiogroup> 
    4435      </vbox> 
    4536      <spacer height="12"/> 
    46       <checkbox id="ai-enable-rec-rules" preference="ai-enable-rec-rules-pref" 
    47         label="&label.enable.rec.rules;"/> 
     37      <checkbox id="ai-enable-rec-rules" preference="ai-recommended-rules-pref" 
     38        label="&label.ruleset.recommended-rules;"/> 
    4839    </groupbox> 
    4940 
     
    5445          <radio id="ai-wcag-level-aaa" 
    5546            group="ai-wcag-level-group" value="0" 
    56             label="&label.wcag.level.aaa;"/> 
     47            label="&label.wcag.level-aaa;"/> 
    5748          <radio id="ai-wcag-level-aaa" 
    5849            group="ai-wcag-level-group" value="1" 
    59             label="&label.wcag.level.aa;"/> 
     50            label="&label.wcag.level-aa;"/> 
    6051          <radio id="ai-wcag-level-aaa" 
    6152            group="ai-wcag-level-group" value="2" 
    62             label="&label.wcag.level.a;"/> 
     53            label="&label.wcag.level-a;"/> 
    6354        </radiogroup> 
    6455      </vbox> 
     
    6657 
    6758    <groupbox class="secondary"> 
    68       <caption label="&groupbox.caption.resultFilters;"/> 
     59      <caption label="&groupbox.caption.evalResults;"/> 
    6960      <vbox> 
    70         <!-- 
    71         <checkbox id="ai-show-page-mc" preference="ai-show-page-mc-pref" 
    72           label="&label.show.page.mc;"/> 
    73         --> 
    74         <checkbox id="ai-show-elem-mc" preference="ai-show-elem-mc-pref" 
    75           label="&label.show.elem.mc;"/> 
    76         <!-- 
    77         <checkbox id="ai-show-pass" preference="ai-show-pass-pref" 
    78           label="&label.show.pass;"/> 
    79         <checkbox id="ai-show-hidden" preference="ai-show-hidden-pref" 
    80           label="&label.show.hidden;"/> 
    81         --> 
     61        <checkbox id="ai-element-mc" preference="ai-element-manual-checks-pref" 
     62          label="&label.results.element-mc;"/> 
    8263      </vbox> 
    8364    </groupbox> 
     
    8768      <vbox> 
    8869        <checkbox id="ai-layout-tables" preference="ai-layout-tables-pref" 
    89           label="&label.page.layout;"/> 
     70          label="&label.options.page-layout;"/> 
    9071        <checkbox id="ai-broken-links" preference="ai-broken-links-pref" 
    91           label="&label.broken.links;"/> 
     72          label="&label.options.broken-links;"/> 
    9273      </vbox> 
    9374    </groupbox> 
  • trunk/proto-11/chrome/content/view-category.js

    r104 r129  
    2121  LEVEL_1: "AA", 
    2222  LEVEL_2: "A", 
    23   LEVEL_3: "A+", 
     23  LEVEL_3: "A*", 
    2424  REQUIRED_0: "No", 
    2525  REQUIRED_1: "Yes" 
  • trunk/proto-11/chrome/content/view-category.xul

    r127 r129  
    6363          class="sortDirectionIndicator"/> 
    6464        <splitter class="tree-splitter"/> 
    65         <treecol id="ai-required-col" 
     65        <!-- "Req" column is hidden by default --> 
     66        <treecol id="ai-required-col" hidden="true" 
    6667          width="44" minwidth="44" maxwidth="60" 
    6768          label="&ai-treecol.required;" 
     
    9192          class="sortDirectionIndicator"/> 
    9293        <splitter class="tree-splitter"/> 
    93         <treecol id="ai-pass-col" 
     94        <!-- "Pass" column is hidden by default --> 
     95        <treecol id="ai-pass-col" hidden="true" 
    9496          width="44" minwidth="44" maxwidth="60" 
    9597          style="text-align: right; padding-right: 16px" 
  • trunk/proto-11/chrome/locale/en-US/ai-sidebar.dtd

    r127 r129  
    8484<!ENTITY ai-treecol.requiredTooltip         "Required vs. recommended in ruleset"> 
    8585<!ENTITY ai-treecol.level                   "Lev."> 
    86 <!ENTITY ai-treecol.levelTooltip            "WCAG 2.0 level (A+ = highest priority)"> 
     86<!ENTITY ai-treecol.levelTooltip            "WCAG level (* denotes a basic rule)"> 
    8787<!ENTITY ai-treecol.viol                    "V/W"> 
    8888<!ENTITY ai-treecol.violTooltip             "Violation/warning (num. of elements)"> 
  • trunk/proto-11/chrome/locale/en-US/options.dtd

    r127 r129  
    2020<!ENTITY groupbox.caption.ruleset "Ruleset"> 
    2121 
    22 <!ENTITY label.ruleset.aria.strict "ARIA Strict"> 
    23 <!ENTITY label.ruleset.aria.transitional "ARIA Transitional"> 
    24 <!ENTITY label.enable.rec.rules "Enable recommended rules"> 
     22<!ENTITY label.ruleset.aria-strict "ARIA Strict"> 
     23<!ENTITY label.ruleset.aria-transitional "ARIA Transitional"> 
     24<!ENTITY label.ruleset.recommended-rules "Include recommended rules"> 
    2525 
    2626<!ENTITY groupbox.caption.wcagLevel "Rule Levels"> 
    2727 
    28 <!ENTITY label.wcag.level.aaa "A, AA, AAA"> 
    29 <!ENTITY label.wcag.level.aa  "A, AA"> 
    30 <!ENTITY label.wcag.level.a   "A"> 
     28<!ENTITY label.wcag.level-aaa "A, AA, AAA"> 
     29<!ENTITY label.wcag.level-aa  "A, AA"> 
     30<!ENTITY label.wcag.level-a   "A"> 
    3131 
    32 <!ENTITY groupbox.caption.resultFilters "Evaluation Results"> 
     32<!ENTITY groupbox.caption.evalResults "Evaluation Results"> 
    3333 
    34 <!ENTITY label.show.page.mc "Page-level manual checks"> 
    35 <!ENTITY label.show.elem.mc "Include element-level manual checks"> 
    36 <!ENTITY label.show.pass    "Pass"> 
    37 <!ENTITY label.show.hidden  "Hidden"> 
     34<!ENTITY label.results.element-mc "Include element-level manual checks"> 
    3835 
    3936<!ENTITY groupbox.caption.otherOptions "Other Evaluation Options"> 
    4037 
    41 <!ENTITY label.page.layout  "Allow table markup for page layout"> 
    42 <!ENTITY label.broken.links "Check for broken links"> 
     38<!ENTITY label.options.page-layout  "Allow table markup for page layout"> 
     39<!ENTITY label.options.broken-links "Check for broken links"> 
  • trunk/proto-11/defaults/preferences/prefs.js

    r123 r129  
    88 
    99pref("extensions.ainspector.evaluation.ruleset", 0); 
    10 pref("extensions.ainspector.evaluation.enableRecommendedRules", true); 
    11  
     10pref("extensions.ainspector.evaluation.recommendedRules", true); 
    1211pref("extensions.ainspector.evaluation.wcagLevel", 0); 
    13  
    14 pref("extensions.ainspector.evaluation.showPageManualChecks", true); 
    15 pref("extensions.ainspector.evaluation.showElemManualChecks", true); 
    16  
    17 pref("extensions.ainspector.evaluation.showPass", false); 
    18 pref("extensions.ainspector.evaluation.showHidden", false); 
    19  
     12pref("extensions.ainspector.evaluation.elementManualChecks", true); 
    2013pref("extensions.ainspector.evaluation.layoutTables", false); 
    2114pref("extensions.ainspector.evaluation.brokenLinks", false); 
Note: See TracChangeset for help on using the changeset viewer.