Changeset 165


Ignore:
Timestamp:
04/30/13 20:08:56 (6 years ago)
Author:
nhoyt
Message:

Modified all XUL id values to begin with "ainspector-" prefix.

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

Legend:

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

    r147 r165  
    3232    break; 
    3333  } 
    34   document.getElementById('ai-option-ruleset').value = rulesetValue; 
     34  document.getElementById('ainspector-option-ruleset').value = rulesetValue; 
    3535 
    3636  // set the Level value 
     
    4848    break; 
    4949  } 
    50   document.getElementById('ai-option-levels').value = levelsValue; 
     50  document.getElementById('ainspector-option-levels').value = levelsValue; 
    5151 
    5252  // set the Recommended Rules value 
    53   document.getElementById('ai-option-recommended-rules').value = recRulesOption ? 
     53  document.getElementById('ainspector-option-recommended-rules').value = recRulesOption ? 
    5454    nls.getString('option.recommended-rules.yes') : 
    5555    nls.getString('option.recommended-rules.no'); 
  • trunk/proto-13/chrome/content/ai-context.xul

    r147 r165  
    22<!DOCTYPE overlay SYSTEM "chrome://ai-sidebar/locale/ai-sidebar.dtd"> 
    33 
    4 <overlay id="ai-context-overlay" 
     4<overlay id="ainspector-context-overlay" 
    55         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    66 
    77  <script src="ai-context.js"/> 
    88 
    9   <vbox id="ai-options"> 
     9  <vbox id="ainspector-options"> 
    1010    <hbox minheight="16" pack="start"> 
    1111      <label value="&ai-label.option.ruleset;" style="margin-right: 0"/> 
    12       <label id="ai-option-ruleset" style="margin-left: 0"/> 
     12      <label id="ainspector-option-ruleset" style="margin-left: 0"/> 
    1313      <spacer width="12"/> 
    1414      <label value="&ai-label.option.levels;" style="margin-right: 0"/> 
    15       <label id="ai-option-levels" style="margin-left: 0"/> 
     15      <label id="ainspector-option-levels" style="margin-left: 0"/> 
    1616      <spacer width="12"/> 
    1717      <label value="&ai-label.option.recommended;" style="margin-right: 0"/> 
    18       <label id="ai-option-recommended-rules" style="margin-left: 0"/> 
     18      <label id="ainspector-option-recommended-rules" style="margin-left: 0"/> 
    1919    </hbox> 
    2020  </vbox> 
    2121 
    22   <vbox id="ai-location"> 
    23     <hbox id="ai-progress-meter" minheight="16" hidden="true"> 
     22  <vbox id="ainspector-location"> 
     23    <hbox id="ainspector-progress-meter" minheight="16" hidden="true"> 
    2424      <progressmeter mode="undetermined" flex="12" style="margin-left: 8px; margin-right: 8px"/> 
    2525    </hbox> 
    26     <hbox id="ai-location-info"> 
     26    <hbox id="ainspector-location-info"> 
    2727      <label value="Location: " style="margin-right: 0"/> 
    28       <label id="ai-location-label" crop="end" flex="12" style="margin-left: 0"/> 
     28      <label id="ainspector-location-label" crop="end" flex="12" style="margin-left: 0"/> 
    2929    </hbox> 
    3030  </vbox> 
  • trunk/proto-13/chrome/content/ai-sidebar.js

    r163 r165  
    8787 
    8888  // get NLS stringbundle 
    89   ainspectorSidebar.nlsProperties = document.getElementById('ai-sidebar-properties'); 
     89  ainspectorSidebar.nlsProperties = document.getElementById('ainspector-sidebar-properties'); 
    9090 
    9191  // initialize user interface components 
    92   ainspectorSidebar.locationLabel       = document.getElementById("ai-location-label"); 
    93   ainspectorSidebar.progressMeter       = document.getElementById("ai-progress-meter"); 
    94   ainspectorSidebar.locationInfo        = document.getElementById("ai-location-info"); 
    95   ainspectorSidebar.ruleCategorySummary = document.getElementById("ai-rule-category-summary"); 
    96   ainspectorSidebar.ruleCategoryTree    = document.getElementById("ai-rule-category-tree"); 
    97   ainspectorSidebar.selectedRule        = document.getElementById("ai-selected-rule"); 
    98   ainspectorSidebar.viewTitle           = document.getElementById("ai-view-title"); 
    99   ainspectorSidebar.viewDeck            = document.getElementById("ai-view-deck"); 
     92  ainspectorSidebar.locationLabel       = document.getElementById("ainspector-location-label"); 
     93  ainspectorSidebar.progressMeter       = document.getElementById("ainspector-progress-meter"); 
     94  ainspectorSidebar.locationInfo        = document.getElementById("ainspector-location-info"); 
     95  ainspectorSidebar.ruleCategorySummary = document.getElementById("ainspector-rule-category-summary"); 
     96  ainspectorSidebar.ruleCategoryTree    = document.getElementById("ainspector-rule-category-tree"); 
     97  ainspectorSidebar.selectedRule        = document.getElementById("ainspector-selected-rule"); 
     98  ainspectorSidebar.viewTitle           = document.getElementById("ainspector-view-title"); 
     99  ainspectorSidebar.viewDeck            = document.getElementById("ainspector-view-deck"); 
    100100 
    101101  // register with current tab 
  • trunk/proto-13/chrome/content/ai-sidebar.xul

    r163 r165  
    1010<!DOCTYPE page SYSTEM "chrome://ai-sidebar/locale/ai-sidebar.dtd"> 
    1111 
    12 <page id="ai-sidebar" title="&ai-sidebar.title;" 
     12<page id="ainspector-sidebar" title="&ai-sidebar.title;" 
    1313  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    1414 
    1515  <stringbundleset> 
    16     <stringbundle id="ai-sidebar-properties" 
     16    <stringbundle id="ainspector-sidebar-properties" 
    1717      src="chrome://ai-sidebar/locale/ai-sidebar.properties"/> 
    1818  </stringbundleset> 
     
    3030  <script src="datasource.js"/> 
    3131 
    32   <commandset id="ai-sidebar-commandset"> 
     32  <commandset id="ainspector-sidebar-commandset"> 
    3333    <!-- view selection commands --> 
    34     <command id="ai-cmd-view-summary" 
     34    <command id="ainspector-cmd-view-summary" 
    3535      label="&ai-label.view.summary;" 
    3636      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.SUMMARY)"/> 
    37     <command id="ai-cmd-view-structure" 
     37    <command id="ainspector-cmd-view-structure" 
    3838      label="&ai-label.view.structure;" 
    3939      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.STRUCTURE)"/> 
    40     <command id="ai-cmd-view-styles" 
     40    <command id="ainspector-cmd-view-styles" 
    4141      label="&ai-label.view.styles;" 
    4242      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.STYLES)"/> 
    43     <command id="ai-cmd-view-images" 
     43    <command id="ainspector-cmd-view-images" 
    4444      label="&ai-label.view.images;" 
    4545      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.IMAGES)"/> 
    46     <command id="ai-cmd-view-tables" 
     46    <command id="ainspector-cmd-view-tables" 
    4747      label="&ai-label.view.tables;" 
    4848      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.TABLES)"/> 
    49     <command id="ai-cmd-view-links" 
     49    <command id="ainspector-cmd-view-links" 
    5050      label="&ai-label.view.links;" 
    5151      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.LINKS)"/> 
    52     <command id="ai-cmd-view-forms" 
     52    <command id="ainspector-cmd-view-forms" 
    5353      label="&ai-label.view.forms;" 
    5454      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.FORMS)"/> 
    55     <command id="ai-cmd-view-widgets" 
     55    <command id="ainspector-cmd-view-widgets" 
    5656      label="&ai-label.view.widgets;" 
    5757      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WIDGETS)"/> 
    58     <command id="ai-cmd-view-media" 
     58    <command id="ainspector-cmd-view-media" 
    5959      label="&ai-label.view.media;" 
    6060      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.MEDIA)"/> 
    61     <command id="ai-cmd-view-layout" 
     61    <command id="ainspector-cmd-view-layout" 
    6262      label="&ai-label.view.layout;" 
    6363      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.LAYOUT)"/> 
    64     <command id="ai-cmd-view-all-rules" 
     64    <command id="ainspector-cmd-view-all-rules" 
    6565      label="&ai-label.view.all-rules;" 
    6666      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.ALL_RULES)"/> 
    67     <command id="ai-cmd-view-wcag-1-1" 
     67    <command id="ainspector-cmd-view-wcag-1-1" 
    6868      label="&ai-label.view.wcag-1-1;" 
    6969      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_1_1)"/> 
    70     <command id="ai-cmd-view-wcag-1-2" 
     70    <command id="ainspector-cmd-view-wcag-1-2" 
    7171      label="&ai-label.view.wcag-1-2;" 
    7272      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_1_2)"/> 
    73     <command id="ai-cmd-view-wcag-1-3" 
     73    <command id="ainspector-cmd-view-wcag-1-3" 
    7474      label="&ai-label.view.wcag-1-3;" 
    7575      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_1_3)"/> 
    76     <command id="ai-cmd-view-wcag-1-4" 
     76    <command id="ainspector-cmd-view-wcag-1-4" 
    7777      label="&ai-label.view.wcag-1-4;" 
    7878      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_1_4)"/> 
    79     <command id="ai-cmd-view-wcag-2-1" 
     79    <command id="ainspector-cmd-view-wcag-2-1" 
    8080      label="&ai-label.view.wcag-2-1;" 
    8181      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_2_1)"/> 
    82     <command id="ai-cmd-view-wcag-2-2" 
     82    <command id="ainspector-cmd-view-wcag-2-2" 
    8383      label="&ai-label.view.wcag-2-2;" 
    8484      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_2_2)"/> 
    85     <command id="ai-cmd-view-wcag-2-3" 
     85    <command id="ainspector-cmd-view-wcag-2-3" 
    8686      label="&ai-label.view.wcag-2-3;" 
    8787      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_2_3)"/> 
    88     <command id="ai-cmd-view-wcag-2-4" 
     88    <command id="ainspector-cmd-view-wcag-2-4" 
    8989      label="&ai-label.view.wcag-2-4;" 
    9090      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_2_4)"/> 
    91     <command id="ai-cmd-view-wcag-3-1" 
     91    <command id="ainspector-cmd-view-wcag-3-1" 
    9292      label="&ai-label.view.wcag-3-1;" 
    9393      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_3_1)"/> 
    94     <command id="ai-cmd-view-wcag-3-2" 
     94    <command id="ainspector-cmd-view-wcag-3-2" 
    9595      label="&ai-label.view.wcag-3-2;" 
    9696      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_3_2)"/> 
    97     <command id="ai-cmd-view-wcag-3-3" 
     97    <command id="ainspector-cmd-view-wcag-3-3" 
    9898      label="&ai-label.view.wcag-3-3;" 
    9999      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_3_3)"/> 
    100     <command id="ai-cmd-view-wcag-4-1" 
     100    <command id="ainspector-cmd-view-wcag-4-1" 
    101101      label="&ai-label.view.wcag-4-1;" 
    102102      oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.WCAG_4_1)"/> 
    103103  </commandset> 
    104104 
    105   <keyset id="ai-sidebar-keyset"> 
     105  <keyset id="ainspector-sidebar-keyset"> 
    106106    <!-- view selection keys --> 
    107     <key id="ai-key-view-summary" 
    108       command="ai-cmd-view-summary" 
     107    <key id="ainspector-key-view-summary" 
     108      command="ainspector-cmd-view-summary" 
    109109      key="0" 
    110110      modifiers="&ai-sidebar.view.modifierskey;"/> 
    111     <key id="ai-key-view-structure" 
    112       command="ai-cmd-view-structure" 
     111    <key id="ainspector-key-view-structure" 
     112      command="ainspector-cmd-view-structure" 
    113113      key="1" 
    114114      modifiers="&ai-sidebar.view.modifierskey;"/> 
    115     <key id="ai-key-view-styles" 
    116       command="ai-cmd-view-styles" 
     115    <key id="ainspector-key-view-styles" 
     116      command="ainspector-cmd-view-styles" 
    117117      key="2" 
    118118      modifiers="&ai-sidebar.view.modifierskey;"/> 
    119     <key id="ai-key-view-images" 
    120       command="ai-cmd-view-images" 
     119    <key id="ainspector-key-view-images" 
     120      command="ainspector-cmd-view-images" 
    121121      key="3" 
    122122      modifiers="&ai-sidebar.view.modifierskey;"/> 
    123     <key id="ai-key-view-tables" 
    124       command="ai-cmd-view-tables" 
     123    <key id="ainspector-key-view-tables" 
     124      command="ainspector-cmd-view-tables" 
    125125      key="4" 
    126126      modifiers="&ai-sidebar.view.modifierskey;"/> 
    127     <key id="ai-key-view-links" 
    128       command="ai-cmd-view-links" 
     127    <key id="ainspector-key-view-links" 
     128      command="ainspector-cmd-view-links" 
    129129      key="5" 
    130130      modifiers="&ai-sidebar.view.modifierskey;"/> 
    131     <key id="ai-key-view-forms" 
    132       command="ai-cmd-view-forms" 
     131    <key id="ainspector-key-view-forms" 
     132      command="ainspector-cmd-view-forms" 
    133133      key="6" 
    134134      modifiers="&ai-sidebar.view.modifierskey;"/> 
    135     <key id="ai-key-view-widgets" 
    136       command="ai-cmd-view-widgets" 
     135    <key id="ainspector-key-view-widgets" 
     136      command="ainspector-cmd-view-widgets" 
    137137      key="7" 
    138138      modifiers="&ai-sidebar.view.modifierskey;"/> 
    139     <key id="ai-key-view-media" 
    140       command="ai-cmd-view-media" 
     139    <key id="ainspector-key-view-media" 
     140      command="ainspector-cmd-view-media" 
    141141      key="8" 
    142142      modifiers="&ai-sidebar.view.modifierskey;"/> 
    143     <key id="ai-key-view-layout" 
    144       command="ai-cmd-view-layout" 
     143    <key id="ainspector-key-view-layout" 
     144      command="ainspector-cmd-view-layout" 
    145145      key="9" 
    146146      modifiers="&ai-sidebar.view.modifierskey;"/> 
     
    148148 
    149149  <hbox> 
    150     <label id="ai-view-title" class="header" value=""/> 
     150    <label id="ainspector-view-title" class="header" value=""/> 
    151151    <spacer flex="5"/> 
    152     <button id="ai-views-button"/> 
     152    <button id="ainspector-views-button"/> 
    153153  </hbox> 
    154154 
    155   <deck id="ai-view-deck"> 
    156     <vbox id="ai-summary-view"/> 
    157     <vbox id="ai-category-view"/> 
    158     <vbox id="ai-details-view"/> 
     155  <deck id="ainspector-view-deck"> 
     156    <vbox id="ainspector-summary-view"/> 
     157    <vbox id="ainspector-category-view"/> 
     158    <vbox id="ainspector-details-view"/> 
    159159  </deck> 
    160160 
    161161  <spacer flex="100"/> 
    162162 
    163   <vbox id="ai-options" flex="1" pack="end"/> 
    164   <vbox id="ai-location" flex="1" height="20" minheight="20" maxheight="20"/> 
     163  <vbox id="ainspector-options" flex="1" pack="end"/> 
     164  <vbox id="ainspector-location" flex="1" height="20" minheight="20" maxheight="20"/> 
    165165 
    166166  <vbox> 
  • trunk/proto-13/chrome/content/ff-overlay.js

    r163 r165  
    7979 
    8080    // add AI button to navigation toolbar 
    81     var buttonId = "ai-sidebar-button"; 
     81    var buttonId = "ainspector-sidebar-button"; 
    8282    if (!document.getElementById(buttonId)) { 
    8383      var toolbar = document.getElementById("nav-bar"); 
     
    131131 
    132132  if ((!isVisible && shouldBeVisible) || (isVisible && !shouldBeVisible)) 
    133     parent.toggleSidebar('view-ai-sidebar'); 
     133    parent.toggleSidebar('ainspector-view-sidebar'); 
    134134  else 
    135135    if (isVisible && parent.AIS.updateContext) parent.AIS.updateContext(); 
     
    149149    var elapsed = Date.now() - parent.AIS.startTime; 
    150150    ainspector.logger.log.info("Elapsed time at startup: " + elapsed); 
    151     toggleSidebar('view-ai-sidebar'); 
     151    toggleSidebar('ainspector-view-sidebar'); 
    152152  } 
    153153}; 
  • trunk/proto-13/chrome/content/ff-overlay.xul

    r136 r165  
    22<!DOCTYPE overlay SYSTEM "chrome://ai-sidebar/locale/ai-sidebar.dtd"> 
    33 
    4 <overlay id="ai-sidebar-overlay" 
     4<overlay id="ainspector-sidebar-overlay" 
    55  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    66 
     
    1313 
    1414  <keyset id="mainKeyset"> 
    15     <key id="ai-key-toggle-sidebar" 
    16       command="view-ai-sidebar" 
     15    <key id="ainspector-key-toggle-sidebar" 
     16      command="ainspector-view-sidebar" 
    1717      key="&ai-sidebar.toggle.commandkey;" 
    1818      modifiers="&ai-sidebar.toggle.modifierskey;"/> 
     
    2020 
    2121  <toolbarpalette id="BrowserToolbarPalette"> 
    22     <toolbarbutton id="ai-sidebar-button" class="toolbarbutton-1 chromeclass-toolbar-additional" 
     22    <toolbarbutton id="ainspector-sidebar-button" class="toolbarbutton-1 chromeclass-toolbar-additional" 
    2323      tooltiptext="&ai-button.tooltip.toggle;" 
    24       oncommand="toggleSidebar('view-ai-sidebar')"> 
     24      oncommand="toggleSidebar('ainspector-view-sidebar')"> 
    2525      <label style="font-size: 110%; font-style: normal; font-weight: bold;">AI</label> 
    2626    </toolbarbutton> 
     
    2828 
    2929  <menupopup id="viewSidebarMenu"> 
    30     <menuitem id="ai-menuitem-toggle-sidebar" 
    31       key="ai-key-toggle-sidebar" 
    32       observes="view-ai-sidebar"/> 
     30    <menuitem id="ainspector-menuitem-toggle-sidebar" 
     31      key="ainspector-key-toggle-sidebar" 
     32      observes="ainspector-view-sidebar"/> 
    3333  </menupopup> 
    3434 
    3535  <broadcasterset id="mainBroadcasterSet"> 
    36     <broadcaster id="view-ai-sidebar" 
     36    <broadcaster id="ainspector-view-sidebar" 
    3737      label="&ai-sidebar.title;" 
    3838      type="checkbox" autoCheck="false" group="sidebar" 
    3939      sidebarurl="chrome://ai-sidebar/content/ai-sidebar.xul" 
    4040      sidebartitle="&ai-sidebar.title;" 
    41       oncommand="toggleSidebar('view-ai-sidebar')"/> 
     41      oncommand="toggleSidebar('ainspector-view-sidebar')"/> 
    4242  </broadcasterset> 
    4343 
  • trunk/proto-13/chrome/content/preferences/evaluation.xul

    r147 r165  
    33<!DOCTYPE overlay SYSTEM "chrome://ai-sidebar/locale/options.dtd"> 
    44 
    5 <overlay id="ai-evaluation-preferences-overlay" 
     5<overlay id="ainspector-evaluation-preferences-overlay" 
    66  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    77 
    8   <prefpane id="ai-pane-evaluation" onpaneload="ainspector.options.initPrefpaneEvaluation()"> 
     8  <prefpane id="ainspector-pane-evaluation" onpaneload="ainspector.options.initPrefpaneEvaluation()"> 
    99    <preferences> 
    10       <preference id="ai-ruleset-pref" type="int" 
     10      <preference id="ainspector-ruleset-pref" type="int" 
    1111        name="extensions.ainspector.evaluation.ruleset"/> 
    12       <preference id="ai-recommended-rules-pref" type="bool" 
     12      <preference id="ainspector-recommended-rules-pref" type="bool" 
    1313        name="extensions.ainspector.evaluation.recommendedRules"/> 
    14       <preference id="ai-rule-levels-pref" type="int" 
     14      <preference id="ainspector-rule-levels-pref" type="int" 
    1515        name="extensions.ainspector.evaluation.ruleLevels"/> 
    16       <preference id="ai-element-manual-checks-pref" type="bool" 
     16      <preference id="ainspector-element-manual-checks-pref" type="bool" 
    1717        name="extensions.ainspector.evaluation.elementManualChecks"/> 
    18       <preference id="ai-layout-tables-pref" type="bool" 
     18      <preference id="ainspector-layout-tables-pref" type="bool" 
    1919        name="extensions.ainspector.evaluation.layoutTables"/> 
    20       <preference id="ai-broken-links-pref" type="bool" 
     20      <preference id="ainspector-broken-links-pref" type="bool" 
    2121        name="extensions.ainspector.evaluation.brokenLinks"/> 
    2222    </preferences> 
     
    2525      <caption label="&groupbox.caption.ruleset;"/> 
    2626      <vbox> 
    27         <radiogroup id="ai-ruleset" preference="ai-ruleset-pref"> 
    28           <radio id="ai-ruleset-strict" 
    29             group="ai-ruleset-group" value="2" 
     27        <radiogroup id="ainspector-ruleset" preference="ainspector-ruleset-pref"> 
     28          <radio id="ainspector-ruleset-strict" 
     29            group="ainspector-ruleset-group" value="2" 
    3030            label="&label.ruleset.aria-strict;"/> 
    31           <radio id="ai-ruleset-transitional" 
    32             group="ai-ruleset-group" value="1" 
     31          <radio id="ainspector-ruleset-transitional" 
     32            group="ainspector-ruleset-group" value="1" 
    3333            label="&label.ruleset.aria-transitional;"/> 
    3434        </radiogroup> 
    3535      </vbox> 
    3636      <spacer height="12"/> 
    37       <checkbox id="ai-enable-rec-rules" preference="ai-recommended-rules-pref" 
     37      <checkbox id="ainspector-enable-rec-rules" preference="ainspector-recommended-rules-pref" 
    3838        label="&label.ruleset.recommended-rules;"/> 
    3939    </groupbox> 
     
    4242      <caption label="&groupbox.caption.rule-levels;"/> 
    4343      <vbox> 
    44         <radiogroup id="ai-rule-levels" preference="ai-rule-levels-pref"> 
    45           <radio id="ai-rule-levels-a-aa-aaa" 
    46             group="ai-rule-levels-group" value="7" 
     44        <radiogroup id="ainspector-rule-levels" preference="ainspector-rule-levels-pref"> 
     45          <radio id="ainspector-rule-levels-a-aa-aaa" 
     46            group="ainspector-rule-levels-group" value="7" 
    4747            label="&label.rule-levels.a-aa-aaa;"/> 
    48           <radio id="ai-rule-levels-a-aa" 
    49             group="ai-rule-levels-group" value="6" 
     48          <radio id="ainspector-rule-levels-a-aa" 
     49            group="ainspector-rule-levels-group" value="6" 
    5050            label="&label.rule-levels.a-aa;"/> 
    51           <radio id="ai-rule-levels-a" 
    52             group="ai-rule-levels-group" value="4" 
     51          <radio id="ainspector-rule-levels-a" 
     52            group="ainspector-rule-levels-group" value="4" 
    5353            label="&label.rule-levels.a;"/> 
    5454        </radiogroup> 
     
    5959      <caption label="&groupbox.caption.evalResults;"/> 
    6060      <vbox> 
    61         <checkbox id="ai-element-mc" preference="ai-element-manual-checks-pref" 
     61        <checkbox id="ainspector-element-mc" preference="ainspector-element-manual-checks-pref" 
    6262          label="&label.results.element-mc;"/> 
    6363      </vbox> 
     
    6767      <caption label="&groupbox.caption.otherOptions;"/> 
    6868      <vbox> 
    69         <checkbox id="ai-layout-tables" preference="ai-layout-tables-pref" 
     69        <checkbox id="ainspector-layout-tables" preference="ainspector-layout-tables-pref" 
    7070          label="&label.options.page-layout;"/> 
    71         <checkbox id="ai-broken-links" preference="ai-broken-links-pref" 
     71        <checkbox id="ainspector-broken-links" preference="ainspector-broken-links-pref" 
    7272          label="&label.options.broken-links;"/> 
    7373      </vbox> 
     
    7676    <vbox class="secondary"> 
    7777      <hbox> 
    78         <button id="ai-button-restore-evaluation" 
     78        <button id="ainspector-button-restore-evaluation" 
    7979          label="&button.label.restore;" 
    8080          oncommand="ainspector.options.resetEvaluationPrefs()"/> 
  • trunk/proto-13/chrome/content/preferences/general.js

    r123 r165  
    5858 
    5959ainspector.initFromGeneralPrefs = function () { 
    60   var sidebarKey = window.document.getElementById('ai-key-toggle-sidebar'); 
     60  var sidebarKey = window.document.getElementById('ainspector-key-toggle-sidebar'); 
    6161  if (sidebarKey) { 
    6262    sidebarKey.setAttribute('key', ainspector.generalPrefs.getPref('sidebarCom')); 
     
    8080  switch (name) { 
    8181  case 'sidebarCom': 
    82     key = window.document.getElementById('ai-key-toggle-sidebar'); 
     82    key = window.document.getElementById('ainspector-key-toggle-sidebar'); 
    8383    if (key) key.setAttribute("key", ainspector.generalPrefs.getPref(name)); 
    8484    break; 
     
    8686  case 'sidebarMod': 
    8787    var sval = ainspector.generalPrefs.getPref(name) === 0 ? 'shift accel' : 'accel'; 
    88     key = window.document.getElementById('ai-key-toggle-sidebar'); 
     88    key = window.document.getElementById('ainspector-key-toggle-sidebar'); 
    8989    if (key) key.setAttribute('modifiers', sval); 
    9090    break; 
  • trunk/proto-13/chrome/content/preferences/general.xul

    r123 r165  
    33<!DOCTYPE overlay SYSTEM "chrome://ai-sidebar/locale/options.dtd"> 
    44 
    5 <overlay id="ai-general-preferences-overlay" 
     5<overlay id="ainspector-general-preferences-overlay" 
    66  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    77 
    8   <prefpane id="ai-pane-general" onpaneload="ainspector.options.initPrefpaneGeneral()"> 
     8  <prefpane id="ainspector-pane-general" onpaneload="ainspector.options.initPrefpaneGeneral()"> 
    99    <preferences> 
    10       <preference id="ai-sidebar-mod-pref" type="int" 
     10      <preference id="ainspector-sidebar-mod-pref" type="int" 
    1111        name="extensions.ainspector.general.sidebarMod"/> 
    12       <preference id="ai-sidebar-com-pref" type="wstring" 
     12      <preference id="ainspector-sidebar-com-pref" type="wstring" 
    1313        name="extensions.ainspector.general.sidebarCom"/> 
    14       <preference id="ai-wcag-menuitems-pref" type="bool" 
     14      <preference id="ainspector-wcag-menuitems-pref" type="bool" 
    1515        name="extensions.ainspector.general.wcagMenuitems"/> 
    1616    </preferences> 
     
    1919      <caption label="&groupbox.caption.viewsMenu;"/> 
    2020      <vbox> 
    21         <checkbox id="ai-wcag-menuitems" preference="ai-wcag-menuitems-pref" 
     21        <checkbox id="ainspector-wcag-menuitems" preference="ainspector-wcag-menuitems-pref" 
    2222          label="&label.views.wcagMenuitems;"/> 
    2323      </vbox> 
     
    2727      <caption label="&groupbox.caption.kbdShortcut;"/> 
    2828      <vbox> 
    29         <radiogroup id="ai-sidebar-modifiers" preference="ai-sidebar-mod-pref"> 
     29        <radiogroup id="ainspector-sidebar-modifiers" preference="ainspector-sidebar-mod-pref"> 
    3030          <hbox> 
    31             <radio id="ai-sidebar-shift-accel" 
    32               group="ai-sidebar-mod" value="0" 
     31            <radio id="ainspector-sidebar-shift-accel" 
     32              group="ainspector-sidebar-mod" value="0" 
    3333              label="Shift+Control"/> 
    3434            <spacer width="12"/> 
    35             <radio id="ai-sidebar-accel" 
    36               group="ai-sidebar-mod" value="1" 
     35            <radio id="ainspector-sidebar-accel" 
     36              group="ainspector-sidebar-mod" value="1" 
    3737              label="Control"/> 
    3838          </hbox> 
    3939        </radiogroup> 
    4040        <hbox align="baseline"> 
    41           <label control="ai-sidebar-com">&label.command.key;</label> 
    42           <textbox id="ai-sidebar-com" preference="ai-sidebar-com-pref" 
     41          <label control="ainspector-sidebar-com">&label.command.key;</label> 
     42          <textbox id="ainspector-sidebar-com" preference="ainspector-sidebar-com-pref" 
    4343            maxlength="1" width="20" onfocus="select()"/> 
    4444        </hbox> 
     
    4848    <vbox class="secondary"> 
    4949      <hbox> 
    50         <button id="ai-button-restore-general" 
     50        <button id="ainspector-button-restore-general" 
    5151          label="&button.label.restore;" 
    5252          oncommand="ainspector.options.resetGeneralPrefs()"/> 
  • trunk/proto-13/chrome/content/preferences/options.js

    r71 r165  
    2121ainspector.options.setStatePrefpaneGeneral = function () { 
    2222  var hasUserValues = ainspector.generalPrefs.hasUserValues(); 
    23   var button = document.getElementById('ai-button-restore-general'); 
     23  var button = document.getElementById('ainspector-button-restore-general'); 
    2424  if (button) button.disabled = !hasUserValues; 
    2525}; 
     
    3535ainspector.options.setStatePrefpaneEvaluation = function () { 
    3636  var hasUserValues = ainspector.evaluationPrefs.hasUserValues(); 
    37   var button = document.getElementById('ai-button-restore-evaluation'); 
     37  var button = document.getElementById('ainspector-button-restore-evaluation'); 
    3838  if (button) button.disabled = !hasUserValues; 
    3939}; 
     
    6969 
    7070  // Set radio labels from add-on properties 
    71   var nls = document.getElementById('options-properties'); 
     71  var nls = document.getElementById('ainspector-options-properties'); 
    7272 
    7373  var shiftAccelLabel = isMac ? 
     
    7979    nls.getString("pref.label.accel.win"); 
    8080 
    81   var sidebarShiftAccel = document.getElementById("ai-sidebar-shift-accel") 
    82   var sidebarAccel = document.getElementById("ai-sidebar-accel") 
     81  var sidebarShiftAccel = document.getElementById("ainspector-sidebar-shift-accel") 
     82  var sidebarAccel = document.getElementById("ainspector-sidebar-accel") 
    8383 
    8484  sidebarShiftAccel.label = shiftAccelLabel; 
     
    112112 
    113113ainspector.options.resetGeneralPrefs = function () { 
    114   var nls = document.getElementById('options-properties'); 
     114  var nls = document.getElementById('ainspector-options-properties'); 
    115115  var title = nls.getString("pref.confirm.resetGeneral.title"); 
    116116  var message = nls.getString("pref.confirm.reset.message"); 
     
    133133 
    134134ainspector.options.resetEvaluationPrefs = function () { 
    135   var nls = document.getElementById('options-properties'); 
     135  var nls = document.getElementById('ainspector-options-properties'); 
    136136  var title = nls.getString("pref.confirm.resetEvaluation.title"); 
    137137  var message = nls.getString("pref.confirm.reset.message"); 
  • trunk/proto-13/chrome/content/preferences/options.xul

    r70 r165  
    1111 
    1212  <stringbundleset> 
    13     <stringbundle id="options-properties" 
     13    <stringbundle id="ainspector-options-properties" 
    1414      src="chrome://ai-sidebar/locale/options.properties"/> 
    1515  </stringbundleset> 
     
    1717  <script src="options.js"/> 
    1818 
    19   <prefpane id="ai-pane-general" 
     19  <prefpane id="ainspector-pane-general" 
    2020    label="&prefpane.general.title;" 
    2121    src="chrome://ai-sidebar/content/preferences/general.xul"/> 
    2222 
    23   <prefpane id="ai-pane-evaluation" 
     23  <prefpane id="ainspector-pane-evaluation" 
    2424    label="&prefpane.evaluation.title;" 
    2525    src="chrome://ai-sidebar/content/preferences/evaluation.xul"/> 
  • trunk/proto-13/chrome/content/summary-grid.xml

    r122 r165  
    55          xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    66 
    7   <binding id="summary-header"> 
     7  <binding id="ainspector-summary-header"> 
    88    <content> 
    99      <xul:label 
     
    2727  </binding> 
    2828 
    29   <binding id="summary-data"> 
     29  <binding id="ainspector-summary-data"> 
    3030    <content> 
    3131      <xul:label 
     
    6060  </binding> 
    6161 
    62   <binding id="tbl-summary-data"> 
     62  <binding id="ainspector-tbl-summary-data"> 
    6363    <content> 
    6464      <children/> 
  • trunk/proto-13/chrome/content/summary-rc.xul

    r159 r165  
    33<!DOCTYPE overlay SYSTEM "chrome://ai-sidebar/locale/ai-sidebar.dtd"> 
    44 
    5 <overlay id="ai-category-summary-overlay" 
     5<overlay id="ainspector-category-summary-overlay" 
    66  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    77 
    8   <vbox id="ai-category-summary"> 
     8  <vbox id="ainspector-category-summary"> 
    99    <hbox> 
    1010      <grid> 
     
    3838          </row> 
    3939          <row class="tbl-summary-data" 
    40             id="ai-summary-structure"> 
     40            id="ainspector-summary-structure"> 
    4141            <label class="tbl-summary-name text-link" 
    4242              value="&ai-label.title.structure;" 
     
    4444          </row> 
    4545          <row class="tbl-summary-data-even" 
    46             id="ai-summary-images"> 
     46            id="ainspector-summary-images"> 
    4747            <label class="tbl-summary-name text-link" 
    4848              value="&ai-label.title.images;" 
     
    5050          </row> 
    5151          <row class="tbl-summary-data" 
    52             id="ai-summary-forms"> 
     52            id="ainspector-summary-forms"> 
    5353            <label class="tbl-summary-name text-link" 
    5454              value="&ai-label.title.forms;" 
     
    5656          </row> 
    5757          <row class="tbl-summary-data-even" 
    58             id="ai-summary-tables"> 
     58            id="ainspector-summary-tables"> 
    5959            <label class="tbl-summary-name text-link" 
    6060              value="&ai-label.title.tables;" 
     
    6262          </row> 
    6363          <row class="tbl-summary-data" 
    64             id="ai-summary-links"> 
     64            id="ainspector-summary-links"> 
    6565            <label class="tbl-summary-name text-link" 
    6666              value="&ai-label.title.links;" 
     
    6868          </row> 
    6969          <row class="tbl-summary-data-even" 
    70             id="ai-summary-media"> 
     70            id="ainspector-summary-media"> 
    7171            <label class="tbl-summary-name text-link" 
    7272              value="&ai-label.title.media;" 
     
    7474          </row> 
    7575          <row class="tbl-summary-data" 
    76             id="ai-summary-styles"> 
     76            id="ainspector-summary-styles"> 
    7777            <label class="tbl-summary-name text-link" 
    7878              value="&ai-label.title.styles;" 
     
    8080          </row> 
    8181          <row class="tbl-summary-data-even" 
    82             id="ai-summary-layout"> 
     82            id="ainspector-summary-layout"> 
    8383            <label class="tbl-summary-name text-link" 
    8484              value="&ai-label.title.layout;" 
     
    8686          </row> 
    8787          <row class="tbl-summary-data" 
    88             id="ai-summary-widgets" 
     88            id="ainspector-summary-widgets" 
    8989            style="border-bottom: 1px solid #bbb"> 
    9090            <label class="tbl-summary-name text-link" 
     
    9393          </row> 
    9494          <row class="tbl-summary-data-even" 
    95             id="ai-summary-all-rules" 
     95            id="ainspector-summary-all-rules" 
    9696            style="border-bottom: 1px solid #bbb"> 
    9797            <label class="tbl-summary-name text-link" 
  • trunk/proto-13/chrome/content/summary-wcag.xul

    r159 r165  
    33<!DOCTYPE overlay SYSTEM "chrome://ai-sidebar/locale/ai-sidebar.dtd"> 
    44 
    5 <overlay id="ai-guideline-summary-overlay" 
     5<overlay id="ainspector-guideline-summary-overlay" 
    66  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    77 
    8   <vbox id="ai-guideline-summary"> 
     8  <vbox id="ainspector-guideline-summary"> 
    99    <hbox> 
    1010      <grid> 
     
    3838          </row> 
    3939          <row class="tbl-summary-data" 
    40             id="ai-summary-wcag-1-1"> 
     40            id="ainspector-summary-wcag-1-1"> 
    4141            <label class="tbl-summary-name text-link" 
    4242              value="&ai-label.title.wcag-1-1;" 
     
    4444          </row> 
    4545          <row class="tbl-summary-data-even" 
    46             id="ai-summary-wcag-1-2"> 
     46            id="ainspector-summary-wcag-1-2"> 
    4747            <label class="tbl-summary-name text-link" 
    4848              value="&ai-label.title.wcag-1-2;" 
     
    5050          </row> 
    5151          <row class="tbl-summary-data" 
    52             id="ai-summary-wcag-1-3"> 
     52            id="ainspector-summary-wcag-1-3"> 
    5353            <label class="tbl-summary-name text-link" 
    5454              value="&ai-label.title.wcag-1-3;" 
     
    5656          </row> 
    5757          <row class="tbl-summary-data-even" 
    58             id="ai-summary-wcag-1-4"> 
     58            id="ainspector-summary-wcag-1-4"> 
    5959            <label class="tbl-summary-name text-link" 
    6060              value="&ai-label.title.wcag-1-4;" 
     
    6262          </row> 
    6363          <row class="tbl-summary-data" 
    64             id="ai-summary-wcag-2-1" 
     64            id="ainspector-summary-wcag-2-1" 
    6565            style="border-top: 1px solid #bbb"> 
    6666            <label class="tbl-summary-name text-link" 
     
    6969          </row> 
    7070          <row class="tbl-summary-data-even" 
    71             id="ai-summary-wcag-2-2"> 
     71            id="ainspector-summary-wcag-2-2"> 
    7272            <label class="tbl-summary-name text-link" 
    7373              value="&ai-label.title.wcag-2-2;" 
     
    7575          </row> 
    7676          <row class="tbl-summary-data" 
    77             id="ai-summary-wcag-2-3"> 
     77            id="ainspector-summary-wcag-2-3"> 
    7878            <label class="tbl-summary-name text-link" 
    7979              value="&ai-label.title.wcag-2-3;" 
     
    8181          </row> 
    8282          <row class="tbl-summary-data-even" 
    83             id="ai-summary-wcag-2-4"> 
     83            id="ainspector-summary-wcag-2-4"> 
    8484            <label class="tbl-summary-name text-link" 
    8585              value="&ai-label.title.wcag-2-4;" 
     
    8787          </row> 
    8888          <row class="tbl-summary-data" 
    89             id="ai-summary-wcag-3-1" 
     89            id="ainspector-summary-wcag-3-1" 
    9090            style="border-top: 1px solid #bbb"> 
    9191            <label class="tbl-summary-name text-link" 
     
    9494          </row> 
    9595          <row class="tbl-summary-data-even" 
    96             id="ai-summary-wcag-3-2"> 
     96            id="ainspector-summary-wcag-3-2"> 
    9797            <label class="tbl-summary-name text-link" 
    9898              value="&ai-label.title.wcag-3-2;" 
     
    100100          </row> 
    101101          <row class="tbl-summary-data" 
    102             id="ai-summary-wcag-3-3"> 
     102            id="ainspector-summary-wcag-3-3"> 
    103103            <label class="tbl-summary-name text-link" 
    104104              value="&ai-label.title.wcag-3-3;" 
     
    106106          </row> 
    107107          <row class="tbl-summary-data-even" 
    108             id="ai-summary-wcag-4-1"> 
     108            id="ainspector-summary-wcag-4-1"> 
    109109            <label class="tbl-summary-name text-link" 
    110110              value="&ai-label.title.wcag-4-1;" 
  • trunk/proto-13/chrome/content/view-category.js

    r160 r165  
    1414ainspectorSidebar.ruleResultConst = { 
    1515  DEFAULT_ORDER: "descending", 
    16   DEFAULT_COLUMN: "ai-level-col", 
    17   SORT_COL_2: "ai-level-col", 
    18   SORT_COL_3: "ai-required-col", 
    19   SORT_COL_4: "ai-viol-col" 
     16  DEFAULT_COLUMN: "ainspector-level-col", 
     17  SORT_COL_2: "ainspector-level-col", 
     18  SORT_COL_3: "ainspector-required-col", 
     19  SORT_COL_4: "ainspector-viol-col" 
    2020} 
    2121 
     
    5555    var filteredResult = filteredRuleResults[i]; 
    5656    table.push({ 
    57       "ai-rule-col":     filteredResult.getRuleSummary(), 
    58       "ai-level-col":    filteredResult.getWCAG20LevelConstant(), 
    59       "ai-required-col": filteredResult.isRuleRequired(), 
    60       "ai-wcag-sc-col":  filteredResult.getPrimarySuccessCriterion().id, 
    61       "ai-viol-col":     filteredResult.failures_count, 
    62       "ai-pass-col":     filteredResult.passed_count, 
    63       "ai-mc-col":       filteredResult.manual_checks_count, 
    64       filteredResult:    filteredResult 
     57      "ainspector-rule-col":     filteredResult.getRuleSummary(), 
     58      "ainspector-level-col":    filteredResult.getWCAG20LevelConstant(), 
     59      "ainspector-required-col": filteredResult.isRuleRequired(), 
     60      "ainspector-wcag-sc-col":  filteredResult.getPrimarySuccessCriterion().id, 
     61      "ainspector-viol-col":     filteredResult.failures_count, 
     62      "ainspector-pass-col":     filteredResult.passed_count, 
     63      "ainspector-mc-col":       filteredResult.manual_checks_count, 
     64      filteredResult:            filteredResult 
    6565    }); 
    6666  } 
     
    8585 
    8686    switch (col.id) { 
    87       case "ai-level-col": 
     87      case "ainspector-level-col": 
    8888        switch (value) { 
    8989          case OpenAjax.a11y.WCAG20_LEVEL.A: 
     
    9999        break; 
    100100 
    101       case "ai-required-col": 
     101      case "ainspector-required-col": 
    102102        return value ? resultStrings.REQUIRED_Y : resultStrings.REQUIRED_N; 
    103103 
     
    118118  this.getRowProperties = function (row, props) {}; 
    119119  this.getCellProperties = function (row, col, props) { 
    120     if (col.id === "ai-level-col" || col.id === "ai-required-col") { 
     120    if (col.id === "ainspector-level-col" || col.id === "ainspector-required-col") { 
    121121      var service = Components.classes["@mozilla.org/atom-service;1"]. 
    122122                    getService(Components.interfaces.nsIAtomService); 
    123123      props.AppendElement(service.getAtom("inner")); 
    124124    } 
    125     if (col.id === "ai-viol-col" || col.id === "ai-mc-col" || col.id === "ai-pass-col") { 
     125    if (col.id === "ainspector-viol-col" || col.id === "ainspector-mc-col" || col.id === "ainspector-pass-col") { 
    126126      var service = Components.classes["@mozilla.org/atom-service;1"]. 
    127127                    getService(Components.interfaces.nsIAtomService); 
     
    143143ainspectorSidebar.sortRulesTable = function (column) { 
    144144  var columnName; 
    145   var tree = document.getElementById("ai-rule-category-tree"); 
     145  var tree = document.getElementById("ainspector-rule-category-tree"); 
    146146  var order = tree.getAttribute("sortDirection") == "ascending" ? 1 : -1; 
    147147 
     
    206206  var sortDirection = tree.getAttribute("sortDirection"); 
    207207  var sortResource = tree.getAttribute("sortResource"); 
    208   var defaultSortButton = document.getElementById("ai-button-default-sort"); 
     208  var defaultSortButton = document.getElementById("ainspector-button-default-sort"); 
    209209 
    210210  defaultSortButton.disabled = 
     
    225225 
    226226ainspectorSidebar.defaultSort = function () { 
    227   var tree = document.getElementById("ai-rule-category-tree"); 
     227  var tree = document.getElementById("ainspector-rule-category-tree"); 
    228228  tree.setAttribute("sortDirection", ainspectorSidebar.ruleResultConst.DEFAULT_ORDER); 
    229229  tree.setAttribute("sortResource", ainspectorSidebar.ruleResultConst.DEFAULT_COLUMN); 
     
    293293 
    294294  // set state of Rule Details button 
    295   document.getElementById("ai-rule-details-button").disabled = !isRowSelected; 
     295  document.getElementById("ainspector-rule-details-button").disabled = !isRowSelected; 
    296296 
    297297  // specify text for Selected Rule textbox 
  • trunk/proto-13/chrome/content/view-category.xul

    r163 r165  
    33<!DOCTYPE overlay SYSTEM "chrome://ai-sidebar/locale/ai-sidebar.dtd"> 
    44 
    5 <overlay id="ai-category-view-overlay" 
     5<overlay id="ainspector-category-view-overlay" 
    66  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    77 
    88  <script src="view-category.js"/> 
    99 
    10   <vbox id="ai-category-view"> 
     10  <vbox id="ainspector-category-view"> 
    1111 
    1212    <vbox> 
     
    1717            <row class="summary-header"/> 
    1818            <row class="summary-data" 
    19               id="ai-rule-category-summary"/> 
     19              id="ainspector-rule-category-summary"/> 
    2020          </rows> 
    2121        </grid> 
     
    2626    <spacer height="12"/> 
    2727 
    28     <vbox id="ai-rc-tree-header"> 
     28    <vbox id="ainspector-rc-tree-header"> 
    2929      <hbox> 
    3030        <label class="header-label" value="&ai-label.ruleResults;"/> 
    3131        <spacer flex="2"/> 
    32         <button id="ai-button-default-sort" 
     32        <button id="ainspector-button-default-sort" 
    3333          label="&ai-button.label.sort;" 
    3434          tooltiptext="&ai-button.tooltip.sort;" 
     
    3737    </vbox> 
    3838 
    39     <tree id="ai-rule-category-tree" 
     39    <tree id="ainspector-rule-category-tree" 
    4040      rows="12" 
    4141      persist="sortDirection sortResource" 
    4242      sortDirection="descending" 
    43       sortResource="ai-level-col" 
     43      sortResource="ainspector-level-col" 
    4444      ondblclick="ainspectorSidebar.selectView(ainspector.viewConst.DETAILS)" 
    4545      onselect="ainspectorSidebar.updateSelectedRuleInfo(this)"> 
    4646      <treecols> 
    47         <treecol id="ai-rule-col" 
     47        <treecol id="ainspector-rule-col" 
    4848          flex="1" minwidth="70" 
    4949          ignoreincolumnpicker="true" 
     
    5454          class="sortDirectionIndicator"/> 
    5555        <splitter class="tree-splitter"/> 
    56         <treecol id="ai-level-col" 
     56        <treecol id="ainspector-level-col" 
    5757          width="44" minwidth="44" maxwidth="60" 
    5858          ignoreincolumnpicker="true" 
     
    6666        <splitter class="tree-splitter"/> 
    6767        <!-- "Req" column is hidden by default --> 
    68         <treecol id="ai-required-col" hidden="true" 
     68        <treecol id="ainspector-required-col" hidden="true" 
    6969          width="44" minwidth="44" maxwidth="60" 
    7070          label="&ai-treecol.required;" 
     
    7676        <splitter class="tree-splitter"/> 
    7777        <!-- "SC" column is hidden by default --> 
    78         <treecol id="ai-wcag-sc-col" hidden="true" 
     78        <treecol id="ainspector-wcag-sc-col" hidden="true" 
    7979          width="44" minwidth="44" maxwidth="60" 
    8080          label="&ai-treecol.wcagSC;" 
     
    8585          class="sortDirectionIndicator"/> 
    8686        <splitter class="tree-splitter"/> 
    87         <treecol id="ai-viol-col" 
     87        <treecol id="ainspector-viol-col" 
    8888          width="44" minwidth="44" maxwidth="60" 
    8989          ignoreincolumnpicker="true" 
     
    9595          class="sortDirectionIndicator"/> 
    9696        <splitter class="tree-splitter"/> 
    97         <treecol id="ai-mc-col" 
     97        <treecol id="ainspector-mc-col" 
    9898          width="44" minwidth="44" maxwidth="60" 
    9999          style="text-align: right; padding-right: 16px" 
     
    105105        <splitter class="tree-splitter"/> 
    106106        <!-- "Pass" column is hidden by default --> 
    107         <treecol id="ai-pass-col" hidden="true" 
     107        <treecol id="ainspector-pass-col" hidden="true" 
    108108          width="44" minwidth="44" maxwidth="60" 
    109109          style="text-align: right; padding-right: 16px" 
     
    124124      </hbox> 
    125125      <hbox> 
    126         <textbox id="ai-selected-rule" 
     126        <textbox id="ainspector-selected-rule" 
    127127          flex="4" multiline="true" readonly="true" 
    128128          rows="3" value="&ai-label.noSelection;"/> 
     
    141141          oncommand="ainspectorSidebar.selectView(ainspector.viewEnum.SUMMARY)"/> 
    142142        <spacer flex="4"/> 
    143         <button id="ai-rule-details-button" 
     143        <button id="ainspector-rule-details-button" 
    144144          label="&ai-button.label.ruleDetails;" 
    145145          tooltiptext="&ai-button.tooltip.ruleDetails;" 
  • trunk/proto-13/chrome/content/view-details.js

    r164 r165  
    3434  // get selected rule info 
    3535  var ruleResult = ainspectorSidebar.rulesTable[index].filteredResult; 
    36   var textbox = document.getElementById("ai-rule-details"); 
     36  var textbox = document.getElementById("ainspector-rule-details"); 
    3737  textbox.value = labels.DEFINITION + ruleResult.getRuleDefinition() + 
    3838    "\n\n" + labels.TARGET_ELEMENTS + ruleResult.getTargetResources().join(", ") + 
     
    5252 
    5353ainspectorSidebar.clearDetailsView = function () { 
    54   var textbox = document.getElementById("ai-rule-details"); 
     54  var textbox = document.getElementById("ainspector-rule-details"); 
    5555  textbox.value = ''; 
    5656}; 
  • trunk/proto-13/chrome/content/view-details.xul

    r163 r165  
    33<!DOCTYPE overlay SYSTEM "chrome://ai-sidebar/locale/ai-sidebar.dtd"> 
    44 
    5 <overlay id="ai-details-view-overlay" 
     5<overlay id="ainspector-details-view-overlay" 
    66  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    77 
    88  <script src="view-details.js"/> 
    99 
    10   <vbox id="ai-details-view"> 
     10  <vbox id="ainspector-details-view"> 
    1111 
    1212    <vbox> 
    1313      <hbox> 
    14         <textbox id="ai-rule-details" 
     14        <textbox id="ainspector-rule-details" 
    1515          flex="4" rows="6" 
    1616          multiline="true" 
     
    3131        <spacer flex="4"/> 
    3232        <description>Highlight: </description> 
    33         <menulist id="ai-highlight-option" 
     33        <menulist id="ainspector-highlight-option" 
    3434          flex="1" width="50" 
    3535          persist="value label" 
  • trunk/proto-13/chrome/content/view-summary.js

    r154 r165  
    1717 
    1818ainspectorSidebar.summaryViewGridIds = [ 
    19   { id: "ai-page-summary" }, 
    20   { id: "ai-summary-structure" }, 
    21   { id: "ai-summary-styles" }, 
    22   { id: "ai-summary-images" }, 
    23   { id: "ai-summary-tables" }, 
    24   { id: "ai-summary-links" }, 
    25   { id: "ai-summary-forms" }, 
    26   { id: "ai-summary-widgets" }, 
    27   { id: "ai-summary-media" }, 
    28   { id: "ai-summary-layout" }, 
    29   { id: "ai-summary-all-rules" }, 
     19  { id: "ainspector-page-summary" }, 
     20  { id: "ainspector-summary-structure" }, 
     21  { id: "ainspector-summary-styles" }, 
     22  { id: "ainspector-summary-images" }, 
     23  { id: "ainspector-summary-tables" }, 
     24  { id: "ainspector-summary-links" }, 
     25  { id: "ainspector-summary-forms" }, 
     26  { id: "ainspector-summary-widgets" }, 
     27  { id: "ainspector-summary-media" }, 
     28  { id: "ainspector-summary-layout" }, 
     29  { id: "ainspector-summary-all-rules" }, 
    3030 
    31   { id: "ai-summary-wcag-1-1" }, 
    32   { id: "ai-summary-wcag-1-2" }, 
    33   { id: "ai-summary-wcag-1-3" }, 
    34   { id: "ai-summary-wcag-1-4" }, 
    35   { id: "ai-summary-wcag-2-1" }, 
    36   { id: "ai-summary-wcag-2-2" }, 
    37   { id: "ai-summary-wcag-2-3" }, 
    38   { id: "ai-summary-wcag-2-4" }, 
    39   { id: "ai-summary-wcag-3-1" }, 
    40   { id: "ai-summary-wcag-3-2" }, 
    41   { id: "ai-summary-wcag-3-3" }, 
    42   { id: "ai-summary-wcag-4-1" } 
     31  { id: "ainspector-summary-wcag-1-1" }, 
     32  { id: "ainspector-summary-wcag-1-2" }, 
     33  { id: "ainspector-summary-wcag-1-3" }, 
     34  { id: "ainspector-summary-wcag-1-4" }, 
     35  { id: "ainspector-summary-wcag-2-1" }, 
     36  { id: "ainspector-summary-wcag-2-2" }, 
     37  { id: "ainspector-summary-wcag-2-3" }, 
     38  { id: "ainspector-summary-wcag-2-4" }, 
     39  { id: "ainspector-summary-wcag-3-1" }, 
     40  { id: "ainspector-summary-wcag-3-2" }, 
     41  { id: "ainspector-summary-wcag-3-3" }, 
     42  { id: "ainspector-summary-wcag-4-1" } 
    4343]; 
    4444 
  • trunk/proto-13/chrome/content/view-summary.xul

    r159 r165  
    55<!DOCTYPE overlay SYSTEM "chrome://ai-sidebar/locale/ai-sidebar.dtd"> 
    66 
    7 <overlay id="ai-summary-view-overlay" 
     7<overlay id="ainspector-summary-view-overlay" 
    88  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    99 
    1010  <script src="view-summary.js"/> 
    1111 
    12   <vbox id="ai-summary-view"> 
     12  <vbox id="ainspector-summary-view"> 
    1313 
    1414    <vbox> 
     
    1919            <row class="summary-header"/> 
    2020            <row class="summary-data" 
    21               id="ai-page-summary"/> 
     21              id="ainspector-page-summary"/> 
    2222          </rows> 
    2323        </grid> 
     
    2828    <spacer height="20"/> 
    2929 
    30     <tabbox id="ai-summary-tabbox" persist="selectedIndex label"> 
     30    <tabbox id="ainspector-summary-tabbox" persist="selectedIndex label"> 
    3131      <tabs style="font-size: 110%"> 
    32         <tab label="Rule Categories"/> 
    33         <tab label="WCAG Guidelines"/> 
     32        <tab label="&ai-summary.label.categories;"/> 
     33        <tab label="&ai-summary.label.guidelines;"/> 
    3434      </tabs> 
    3535      <tabpanels style="padding: 16px 0px 0px"> 
    3636        <tabpanel> 
    37           <vbox id="ai-category-summary"/> 
     37          <vbox id="ainspector-category-summary"/> 
    3838        </tabpanel> 
    3939        <tabpanel> 
    40           <vbox id="ai-guideline-summary"/> 
     40          <vbox id="ainspector-guideline-summary"/> 
    4141        </tabpanel> 
    4242      </tabpanels> 
  • trunk/proto-13/chrome/content/views-button.js

    r163 r165  
    2525  switch (index) { 
    2626  case view.SUMMARY: 
    27     return document.getElementById("ai-sidebar-view-summary"); 
     27    return document.getElementById("ainspector-sidebar-view-summary"); 
    2828    break; 
    2929  case view.STRUCTURE: 
    30     return document.getElementById("ai-sidebar-view-structure"); 
     30    return document.getElementById("ainspector-sidebar-view-structure"); 
    3131    break; 
    3232  case view.STYLES: 
    33     return document.getElementById("ai-sidebar-view-styles"); 
     33    return document.getElementById("ainspector-sidebar-view-styles"); 
    3434    break; 
    3535  case view.IMAGES: 
    36     return document.getElementById("ai-sidebar-view-images"); 
     36    return document.getElementById("ainspector-sidebar-view-images"); 
    3737    break; 
    3838  case view.TABLES: 
    39     return document.getElementById("ai-sidebar-view-tables"); 
     39    return document.getElementById("ainspector-sidebar-view-tables"); 
    4040    break; 
    4141  case view.LINKS: 
    42     return document.getElementById("ai-sidebar-view-links"); 
     42    return document.getElementById("ainspector-sidebar-view-links"); 
    4343    break; 
    4444  case view.FORMS: 
    45     return document.getElementById("ai-sidebar-view-forms"); 
     45    return document.getElementById("ainspector-sidebar-view-forms"); 
    4646    break; 
    4747  case view.WIDGETS: 
    48     return document.getElementById("ai-sidebar-view-widgets"); 
     48    return document.getElementById("ainspector-sidebar-view-widgets"); 
    4949    break; 
    5050  case view.MEDIA: 
    51     return document.getElementById("ai-sidebar-view-media"); 
     51    return document.getElementById("ainspector-sidebar-view-media"); 
    5252    break; 
    5353  case view.LAYOUT: 
    54     return document.getElementById("ai-sidebar-view-layout"); 
     54    return document.getElementById("ainspector-sidebar-view-layout"); 
    5555    break; 
    5656  case view.ALL_RULES: 
    57     return document.getElementById("ai-sidebar-view-all-rules"); 
     57    return document.getElementById("ainspector-sidebar-view-all-rules"); 
    5858    break; 
    5959  case view.WCAG_1_1: 
    60     return document.getElementById("ai-sidebar-view-wcag-1-1"); 
     60    return document.getElementById("ainspector-sidebar-view-wcag-1-1"); 
    6161    break; 
    6262  case view.WCAG_1_2: 
    63     return document.getElementById("ai-sidebar-view-wcag-1-2"); 
     63    return document.getElementById("ainspector-sidebar-view-wcag-1-2"); 
    6464    break; 
    6565  case view.WCAG_1_3: 
    66     return document.getElementById("ai-sidebar-view-wcag-1-3"); 
     66    return document.getElementById("ainspector-sidebar-view-wcag-1-3"); 
    6767    break; 
    6868  case view.WCAG_1_4: 
    69     return document.getElementById("ai-sidebar-view-wcag-1-4"); 
     69    return document.getElementById("ainspector-sidebar-view-wcag-1-4"); 
    7070    break; 
    7171  case view.WCAG_2_1: 
    72     return document.getElementById("ai-sidebar-view-wcag-2-1"); 
     72    return document.getElementById("ainspector-sidebar-view-wcag-2-1"); 
    7373    break; 
    7474  case view.WCAG_2_2: 
    75     return document.getElementById("ai-sidebar-view-wcag-2-2"); 
     75    return document.getElementById("ainspector-sidebar-view-wcag-2-2"); 
    7676    break; 
    7777  case view.WCAG_2_3: 
    78     return document.getElementById("ai-sidebar-view-wcag-2-3"); 
     78    return document.getElementById("ainspector-sidebar-view-wcag-2-3"); 
    7979    break; 
    8080  case view.WCAG_2_4: 
    81     return document.getElementById("ai-sidebar-view-wcag-2-4"); 
     81    return document.getElementById("ainspector-sidebar-view-wcag-2-4"); 
    8282    break; 
    8383  case view.WCAG_3_1: 
    84     return document.getElementById("ai-sidebar-view-wcag-3-1"); 
     84    return document.getElementById("ainspector-sidebar-view-wcag-3-1"); 
    8585    break; 
    8686  case view.WCAG_3_2: 
    87     return document.getElementById("ai-sidebar-view-wcag-3-2"); 
     87    return document.getElementById("ainspector-sidebar-view-wcag-3-2"); 
    8888    break; 
    8989  case view.WCAG_3_3: 
    90     return document.getElementById("ai-sidebar-view-wcag-3-3"); 
     90    return document.getElementById("ainspector-sidebar-view-wcag-3-3"); 
    9191    break; 
    9292  case view.WCAG_4_1: 
    93     return document.getElementById("ai-sidebar-view-wcag-4-1"); 
     93    return document.getElementById("ainspector-sidebar-view-wcag-4-1"); 
    9494    break; 
    9595  default: 
     
    112112  var hidden = !pref; 
    113113 
    114   document.getElementById("ai-sidebar-views-separator").hidden = hidden; 
    115   document.getElementById("ai-sidebar-view-wcag-1-1").hidden = hidden; 
    116   document.getElementById("ai-sidebar-view-wcag-1-2").hidden = hidden; 
    117   document.getElementById("ai-sidebar-view-wcag-1-3").hidden = hidden; 
    118   document.getElementById("ai-sidebar-view-wcag-1-4").hidden = hidden; 
    119   document.getElementById("ai-sidebar-view-wcag-2-1").hidden = hidden; 
    120   document.getElementById("ai-sidebar-view-wcag-2-2").hidden = hidden; 
    121   document.getElementById("ai-sidebar-view-wcag-2-3").hidden = hidden; 
    122   document.getElementById("ai-sidebar-view-wcag-2-4").hidden = hidden; 
    123   document.getElementById("ai-sidebar-view-wcag-3-1").hidden = hidden; 
    124   document.getElementById("ai-sidebar-view-wcag-3-2").hidden = hidden; 
    125   document.getElementById("ai-sidebar-view-wcag-3-3").hidden = hidden; 
    126   document.getElementById("ai-sidebar-view-wcag-4-1").hidden = hidden; 
     114  document.getElementById("ainspector-sidebar-views-separator").hidden = hidden; 
     115  document.getElementById("ainspector-sidebar-view-wcag-1-1").hidden = hidden; 
     116  document.getElementById("ainspector-sidebar-view-wcag-1-2").hidden = hidden; 
     117  document.getElementById("ainspector-sidebar-view-wcag-1-3").hidden = hidden; 
     118  document.getElementById("ainspector-sidebar-view-wcag-1-4").hidden = hidden; 
     119  document.getElementById("ainspector-sidebar-view-wcag-2-1").hidden = hidden; 
     120  document.getElementById("ainspector-sidebar-view-wcag-2-2").hidden = hidden; 
     121  document.getElementById("ainspector-sidebar-view-wcag-2-3").hidden = hidden; 
     122  document.getElementById("ainspector-sidebar-view-wcag-2-4").hidden = hidden; 
     123  document.getElementById("ainspector-sidebar-view-wcag-3-1").hidden = hidden; 
     124  document.getElementById("ainspector-sidebar-view-wcag-3-2").hidden = hidden; 
     125  document.getElementById("ainspector-sidebar-view-wcag-3-3").hidden = hidden; 
     126  document.getElementById("ainspector-sidebar-view-wcag-4-1").hidden = hidden; 
    127127} 
    128128 
  • trunk/proto-13/chrome/content/views-button.xul

    r154 r165  
    22<!DOCTYPE overlay SYSTEM "chrome://ai-sidebar/locale/ai-sidebar.dtd"> 
    33 
    4 <overlay id="ai-views-button-overlay" 
     4<overlay id="ainspector-views-button-overlay" 
    55         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 
    66 
    77  <script src="views-button.js"/> 
    88 
    9   <button id="ai-views-button" 
     9  <button id="ainspector-views-button" 
    1010          type="menu" accesskey="a" 
    1111          label="&ai-button.label.views;" 
    1212          tooltiptext="&ai-button.tooltip.views;"> 
    13     <menupopup id="ai-sidebar-views" 
     13    <menupopup id="ainspector-sidebar-views" 
    1414               onpopupshowing="ainspectorSidebar.setViewsMenu()"> 
    15       <menuitem type="radio" name="ai-sidebar-view-radio" 
    16                 id="ai-sidebar-view-summary" 
    17                 command="ai-cmd-view-summary"/> 
     15      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     16                id="ainspector-sidebar-view-summary" 
     17                command="ainspector-cmd-view-summary"/> 
    1818      <menuseparator/> 
    19       <menuitem type="radio" name="ai-sidebar-view-radio" 
    20                 id="ai-sidebar-view-structure" 
    21                 command="ai-cmd-view-structure"/> 
    22       <menuitem type="radio" name="ai-sidebar-view-radio" 
    23                 id="ai-sidebar-view-images" 
    24                 command="ai-cmd-view-images"/> 
    25       <menuitem type="radio" name="ai-sidebar-view-radio" 
    26                 id="ai-sidebar-view-forms" 
    27                 command="ai-cmd-view-forms"/> 
    28       <menuitem type="radio" name="ai-sidebar-view-radio" 
    29                 id="ai-sidebar-view-tables" 
    30                 command="ai-cmd-view-tables"/> 
    31       <menuitem type="radio" name="ai-sidebar-view-radio" 
    32                 id="ai-sidebar-view-links" 
    33                 command="ai-cmd-view-links"/> 
    34       <menuitem type="radio" name="ai-sidebar-view-radio" 
    35                 id="ai-sidebar-view-media" 
    36                 command="ai-cmd-view-media"/> 
    37       <menuitem type="radio" name="ai-sidebar-view-radio" 
    38                 id="ai-sidebar-view-styles" 
    39                 command="ai-cmd-view-styles"/> 
    40       <menuitem type="radio" name="ai-sidebar-view-radio" 
    41                 id="ai-sidebar-view-layout" 
    42                 command="ai-cmd-view-layout"/> 
    43       <menuitem type="radio" name="ai-sidebar-view-radio" 
    44                 id="ai-sidebar-view-widgets" 
    45                 command="ai-cmd-view-widgets"/> 
     19      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     20                id="ainspector-sidebar-view-structure" 
     21                command="ainspector-cmd-view-structure"/> 
     22      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     23                id="ainspector-sidebar-view-images" 
     24                command="ainspector-cmd-view-images"/> 
     25      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     26                id="ainspector-sidebar-view-forms" 
     27                command="ainspector-cmd-view-forms"/> 
     28      <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"/> 
     34      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     35                id="ainspector-sidebar-view-media" 
     36                command="ainspector-cmd-view-media"/> 
     37      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     38                id="ainspector-sidebar-view-styles" 
     39                command="ainspector-cmd-view-styles"/> 
     40      <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"/> 
    4646      <menuseparator/> 
    47       <menuitem type="radio" name="ai-sidebar-view-radio" 
    48                 id="ai-sidebar-view-all-rules" 
    49                 command="ai-cmd-view-all-rules"/> 
    50       <menuseparator id="ai-sidebar-views-separator"/> 
    51       <menuitem type="radio" name="ai-sidebar-view-radio" 
    52                 id="ai-sidebar-view-wcag-1-1" 
    53                 command="ai-cmd-view-wcag-1-1"/> 
    54       <menuitem type="radio" name="ai-sidebar-view-radio" 
    55                 id="ai-sidebar-view-wcag-1-2" 
    56                 command="ai-cmd-view-wcag-1-2"/> 
    57       <menuitem type="radio" name="ai-sidebar-view-radio" 
    58                 id="ai-sidebar-view-wcag-1-3" 
    59                 command="ai-cmd-view-wcag-1-3"/> 
    60       <menuitem type="radio" name="ai-sidebar-view-radio" 
    61                 id="ai-sidebar-view-wcag-1-4" 
    62                 command="ai-cmd-view-wcag-1-4"/> 
    63       <menuitem type="radio" name="ai-sidebar-view-radio" 
    64                 id="ai-sidebar-view-wcag-2-1" 
    65                 command="ai-cmd-view-wcag-2-1"/> 
    66       <menuitem type="radio" name="ai-sidebar-view-radio" 
    67                 id="ai-sidebar-view-wcag-2-2" 
    68                 command="ai-cmd-view-wcag-2-2"/> 
    69       <menuitem type="radio" name="ai-sidebar-view-radio" 
    70                 id="ai-sidebar-view-wcag-2-3" 
    71                 command="ai-cmd-view-wcag-2-3"/> 
    72       <menuitem type="radio" name="ai-sidebar-view-radio" 
    73                 id="ai-sidebar-view-wcag-2-4" 
    74                 command="ai-cmd-view-wcag-2-4"/> 
    75       <menuitem type="radio" name="ai-sidebar-view-radio" 
    76                 id="ai-sidebar-view-wcag-3-1" 
    77                 command="ai-cmd-view-wcag-3-1"/> 
    78       <menuitem type="radio" name="ai-sidebar-view-radio" 
    79                 id="ai-sidebar-view-wcag-3-2" 
    80                 command="ai-cmd-view-wcag-3-2"/> 
    81       <menuitem type="radio" name="ai-sidebar-view-radio" 
    82                 id="ai-sidebar-view-wcag-3-3" 
    83                 command="ai-cmd-view-wcag-3-3"/> 
    84       <menuitem type="radio" name="ai-sidebar-view-radio" 
    85                 id="ai-sidebar-view-wcag-4-1" 
    86                 command="ai-cmd-view-wcag-4-1"/> 
     47      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     48                id="ainspector-sidebar-view-all-rules" 
     49                command="ainspector-cmd-view-all-rules"/> 
     50      <menuseparator id="ainspector-sidebar-views-separator"/> 
     51      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     52                id="ainspector-sidebar-view-wcag-1-1" 
     53                command="ainspector-cmd-view-wcag-1-1"/> 
     54      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     55                id="ainspector-sidebar-view-wcag-1-2" 
     56                command="ainspector-cmd-view-wcag-1-2"/> 
     57      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     58                id="ainspector-sidebar-view-wcag-1-3" 
     59                command="ainspector-cmd-view-wcag-1-3"/> 
     60      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     61                id="ainspector-sidebar-view-wcag-1-4" 
     62                command="ainspector-cmd-view-wcag-1-4"/> 
     63      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     64                id="ainspector-sidebar-view-wcag-2-1" 
     65                command="ainspector-cmd-view-wcag-2-1"/> 
     66      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     67                id="ainspector-sidebar-view-wcag-2-2" 
     68                command="ainspector-cmd-view-wcag-2-2"/> 
     69      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     70                id="ainspector-sidebar-view-wcag-2-3" 
     71                command="ainspector-cmd-view-wcag-2-3"/> 
     72      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     73                id="ainspector-sidebar-view-wcag-2-4" 
     74                command="ainspector-cmd-view-wcag-2-4"/> 
     75      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     76                id="ainspector-sidebar-view-wcag-3-1" 
     77                command="ainspector-cmd-view-wcag-3-1"/> 
     78      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     79                id="ainspector-sidebar-view-wcag-3-2" 
     80                command="ainspector-cmd-view-wcag-3-2"/> 
     81      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     82                id="ainspector-sidebar-view-wcag-3-3" 
     83                command="ainspector-cmd-view-wcag-3-3"/> 
     84      <menuitem type="radio" name="ainspector-sidebar-view-radio" 
     85                id="ainspector-sidebar-view-wcag-4-1" 
     86                command="ainspector-cmd-view-wcag-4-1"/> 
    8787    </menupopup> 
    8888  </button> 
  • trunk/proto-13/chrome/locale/en-US/ai-sidebar.dtd

    r163 r165  
    6464<!-- summary labels and tooltips --> 
    6565 
     66<!ENTITY ai-summary.label.categories  "Rule Categories"> 
     67<!ENTITY ai-summary.label.guidelines  "WCAG Guidelines"> 
    6668<!ENTITY ai-summary.label.category    "Category"> 
    6769<!ENTITY ai-summary.label.guideline   "Guideline"> 
  • trunk/proto-13/chrome/skin/ai-sidebar.css

    r131 r165  
    55} 
    66 
    7 label#ai-view-title { 
     7label#ainspector-view-title { 
    88  font-size: 133% 
    99} 
    1010 
    11 vbox#ai-summary { 
     11vbox#ainspector-summary { 
    1212  padding-left: 4px; 
    1313  padding-right: 4px; 
     
    3535 
    3636row.summary-header { 
    37   -moz-binding: url('chrome://ai-sidebar/content/summary-grid.xml#summary-header'); 
     37  -moz-binding: url('chrome://ai-sidebar/content/summary-grid.xml#ainspector-summary-header'); 
    3838  color: #999; 
    3939  text-align: center; 
     
    4141 
    4242row.summary-data { 
    43   -moz-binding: url('chrome://ai-sidebar/content/summary-grid.xml#summary-data'); 
     43  -moz-binding: url('chrome://ai-sidebar/content/summary-grid.xml#ainspector-summary-data'); 
    4444  font-weight: bold; 
    4545  text-align: center; 
     
    6666 
    6767row.tbl-summary-data { 
    68   -moz-binding: url('chrome://ai-sidebar/content/summary-grid.xml#tbl-summary-data'); 
     68  -moz-binding: url('chrome://ai-sidebar/content/summary-grid.xml#ainspector-tbl-summary-data'); 
    6969  text-align: right; 
    7070  padding: 1px 0px; 
     
    7373 
    7474row.tbl-summary-data-even { 
    75   -moz-binding: url('chrome://ai-sidebar/content/summary-grid.xml#tbl-summary-data'); 
     75  -moz-binding: url('chrome://ai-sidebar/content/summary-grid.xml#ainspector-tbl-summary-data'); 
    7676  text-align: right; 
    7777  padding: 1px 0px; 
  • trunk/proto-13/chrome/skin/options.css

    r63 r165  
    33} 
    44 
    5 radio[pane=ai-pane-general] { 
     5radio[pane=ainspector-pane-general] { 
    66  -moz-image-region: rect(0px, 32px, 32px, 0px); 
    77}  
    88 
    9 radio[pane=ai-pane-evaluation] { 
     9radio[pane=ainspector-pane-evaluation] { 
    1010  -moz-image-region: rect(0px, 96px, 32px, 64px); 
    1111} 
Note: See TracChangeset for help on using the changeset viewer.