Skip to content

Commit

Permalink
Grid examples and Feed Display: Rename html files to remove camel cas…
Browse files Browse the repository at this point in the history
…ing (pull #2597)

Enable resolution of w3c/wai-aria-practices#186 with the following changes:
* Rename HTML files of grid examples (e.g. dataGrids.html > data-grids.html)
* Rename feedDisplay.html to feed-display.html
* Update hrefs of links to changed file names
* Update tests to support example file name changes
  • Loading branch information
alflennik authored Feb 22, 2023
1 parent 9de936f commit bfeb2a7
Show file tree
Hide file tree
Showing 14 changed files with 58 additions and 58 deletions.
50 changes: 25 additions & 25 deletions content/about/coverage-and-quality/coverage-and-quality-report.html
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ <h2 id="roles_with_more_than_one_label">Roles with More than One Guidance or Exa
<li><a href="../../../content/patterns/combobox/examples/combobox-datepicker.html">Date Picker Combobox</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
<li><a href="../../../content/patterns/combobox/examples/grid-combo.html">Editable Combobox with Grid Popup</a></li>
<li><a href="../../../content/patterns/dialog-modal/examples/datepicker-dialog.html">Date Picker Dialog</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
<li><a href="../../../content/patterns/grid/examples/dataGrids.html">Data Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/data-grids.html">Data Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
</ul>
</td>
</tr>
Expand All @@ -346,7 +346,7 @@ <h2 id="roles_with_more_than_one_label">Roles with More than One Guidance or Exa
<td></td>
<td><ul>
<li><a href="../../../content/patterns/combobox/examples/grid-combo.html">Editable Combobox with Grid Popup</a></li>
<li><a href="../../../content/patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
<li><a href="../../../content/patterns/treegrid/examples/treegrid-1.html">Treegrid Email Inbox</a></li>
</ul>
</td>
Expand Down Expand Up @@ -553,7 +553,7 @@ <h2 id="roles_with_more_than_one_label">Roles with More than One Guidance or Exa
<td></td>
<td><ul>
<li><a href="../../../content/patterns/combobox/examples/grid-combo.html">Editable Combobox with Grid Popup</a></li>
<li><a href="../../../content/patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
<li><a href="../../../content/patterns/table/examples/table.html">Table</a></li>
<li><a href="../../../content/patterns/treegrid/examples/treegrid-1.html">Treegrid Email Inbox</a></li>
</ul>
Expand Down Expand Up @@ -721,7 +721,7 @@ <h2 id="props_with_one_example_label">Properties and States with at Least One Gu
<td><code>aria-colcount</code></td>
<td><a href="../../../content/practices/grid-and-table-properties/grid-and-table-properties-practice.html#gridAndTableProperties_cols">Using aria-colcount and aria-colindex</a>
</td>
<td><a href="../../../content/patterns/grid/examples/dataGrids.html">Data Grid</a>
<td><a href="../../../content/patterns/grid/examples/data-grids.html">Data Grid</a>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -824,7 +824,7 @@ <h2 id="props_with_more_than_one_label">Properties and States with More than One
<li><a href="../../../content/practices/grid-and-table-properties/grid-and-table-properties-practice.html#gridAndTableProperties_cols_noncontiguous">Using aria-colindex When Column Indices Are Not Contiguous</a></li>
</ul>
</td>
<td><a href="../../../content/patterns/grid/examples/dataGrids.html">Data Grid</a>
<td><a href="../../../content/patterns/grid/examples/data-grids.html">Data Grid</a>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -995,8 +995,8 @@ <h2 id="props_with_more_than_one_label">Properties and States with More than One
<li><a href="../../../content/patterns/dialog-modal/examples/datepicker-dialog.html">Date Picker Dialog</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
<li><a href="../../../content/patterns/dialog-modal/examples/dialog.html">Modal Dialog</a></li>
<li><a href="../../../content/patterns/feed/examples/feed.html">Feed</a></li>
<li><a href="../../../content/patterns/grid/examples/dataGrids.html">Data Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/data-grids.html">Data Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
<li><a href="../../../content/patterns/listbox/examples/listbox-collapsible.html">(Deprecated) Collapsible Dropdown Listbox</a></li>
<li><a href="../../../content/patterns/listbox/examples/listbox-grouped.html">Listbox with Grouped Options</a></li>
<li><a href="../../../content/patterns/listbox/examples/listbox-rearrangeable.html">Listboxes with Rearrangeable Options</a></li>
Expand Down Expand Up @@ -1095,8 +1095,8 @@ <h2 id="props_with_more_than_one_label">Properties and States with More than One
<td><a href="../../../content/practices/grid-and-table-properties/grid-and-table-properties-practice.html#gridAndTableProperties_rows">Using aria-rowcount and aria-rowindex</a>
</td>
<td><ul>
<li><a href="../../../content/patterns/grid/examples/dataGrids.html">Data Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/data-grids.html">Data Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
</ul>
</td>
</tr>
Expand All @@ -1105,8 +1105,8 @@ <h2 id="props_with_more_than_one_label">Properties and States with More than One
<td><a href="../../../content/practices/grid-and-table-properties/grid-and-table-properties-practice.html#gridAndTableProperties_rows">Using aria-rowcount and aria-rowindex</a>
</td>
<td><ul>
<li><a href="../../../content/patterns/grid/examples/dataGrids.html">Data Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/data-grids.html">Data Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -1148,7 +1148,7 @@ <h2 id="props_with_more_than_one_label">Properties and States with More than One
<td><a href="../../../content/practices/grid-and-table-properties/grid-and-table-properties-practice.html#gridAndTableProperties_sort">Indicating sort order with aria-sort</a>
</td>
<td><ul>
<li><a href="../../../content/patterns/grid/examples/dataGrids.html">Data Grid</a></li>
<li><a href="../../../content/patterns/grid/examples/data-grids.html">Data Grid</a></li>
<li><a href="../../../content/patterns/table/examples/sortable-table.html">Sortable Table</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
</ul>
</td>
Expand Down Expand Up @@ -1583,7 +1583,7 @@ <h3 id="example_coding_practices">Coding Practices</h3>
<td>heading,menu,menuitem,feed,article,aria-controls,aria-expanded,aria-haspopup,aria-label,aria-roledescription,aria-describedby,aria-posinset,aria-setsize</td>
</tr>
<tr>
<td><a href="../../../content/patterns/feed/examples/feedDisplay.html">Feed Display</a></td>
<td><a href="../../../content/patterns/feed/examples/feed-display.html">Feed Display</a></td>
<td>prototype</td>
<td>Yes</td>
<td>Yes</td>
Expand All @@ -1596,7 +1596,7 @@ <h3 id="example_coding_practices">Coding Practices</h3>
<td>aria-busy,aria-describedby,aria-label,aria-labelledby,aria-posinset,aria-setsize</td>
</tr>
<tr>
<td><a href="../../../content/patterns/grid/examples/advancedDataGrid.html">Advanced Data Grid</a></td>
<td><a href="../../../content/patterns/grid/examples/advanced-data-grid.html">Advanced Data Grid</a></td>
<td>prototype</td>
<td>Yes</td>
<td>Yes</td>
Expand All @@ -1609,7 +1609,7 @@ <h3 id="example_coding_practices">Coding Practices</h3>
<td>heading,menu,menuitem,aria-busy,aria-colindex,aria-controls,aria-expanded,aria-haspopup,aria-label,aria-labelledby,aria-roledescription,aria-rowindex,aria-sort</td>
</tr>
<tr>
<td><a href="../../../content/patterns/grid/examples/dataGrids.html">Data Grid</a></td>
<td><a href="../../../content/patterns/grid/examples/data-grids.html">Data Grid</a></td>
<td>prototype</td>
<td>Yes</td>
<td>Yes</td>
Expand All @@ -1622,7 +1622,7 @@ <h3 id="example_coding_practices">Coding Practices</h3>
<td>button,heading,menu,menuitem,aria-busy,aria-controls,aria-expanded,aria-haspopup,aria-label,aria-roledescription</td>
</tr>
<tr>
<td><a href="../../../content/patterns/grid/examples/LayoutGrids.html">Layout Grid</a></td>
<td><a href="../../../content/patterns/grid/examples/layout-grids.html">Layout Grid</a></td>
<td>prototype</td>
<td>Yes</td>
<td>Yes</td>
Expand Down Expand Up @@ -2261,7 +2261,7 @@ <h3 id="example_graphics_techniques">Graphics Techniques</h3>
<td>Yes</td>
</tr>
<tr>
<td><a href="../../../content/patterns/feed/examples/feedDisplay.html">Feed Display</a></td>
<td><a href="../../../content/patterns/feed/examples/feed-display.html">Feed Display</a></td>
<td></td>
<td></td>
<td></td>
Expand All @@ -2271,7 +2271,7 @@ <h3 id="example_graphics_techniques">Graphics Techniques</h3>
<td>Yes</td>
</tr>
<tr>
<td><a href="../../../content/patterns/grid/examples/advancedDataGrid.html">Advanced Data Grid</a></td>
<td><a href="../../../content/patterns/grid/examples/advanced-data-grid.html">Advanced Data Grid</a></td>
<td></td>
<td></td>
<td></td>
Expand All @@ -2281,7 +2281,7 @@ <h3 id="example_graphics_techniques">Graphics Techniques</h3>
<td>Yes</td>
</tr>
<tr>
<td><a href="../../../content/patterns/grid/examples/dataGrids.html">Data Grid</a></td>
<td><a href="../../../content/patterns/grid/examples/data-grids.html">Data Grid</a></td>
<td></td>
<td></td>
<td></td>
Expand All @@ -2291,7 +2291,7 @@ <h3 id="example_graphics_techniques">Graphics Techniques</h3>
<td>Yes</td>
</tr>
<tr>
<td><a href="../../../content/patterns/grid/examples/LayoutGrids.html">Layout Grid</a></td>
<td><a href="../../../content/patterns/grid/examples/layout-grids.html">Layout Grid</a></td>
<td></td>
<td></td>
<td></td>
Expand Down Expand Up @@ -2698,17 +2698,17 @@ <h3 id="example_mouse_pointer">Mouse and Pointer Events</h3>
<td>Yes</td>
</tr>
<tr>
<td><a href="../../../content/patterns/grid/examples/advancedDataGrid.html">Advanced Data Grid</a></td>
<td><a href="../../../content/patterns/grid/examples/advanced-data-grid.html">Advanced Data Grid</a></td>
<td></td>
<td>Yes</td>
</tr>
<tr>
<td><a href="../../../content/patterns/grid/examples/dataGrids.html">Data Grid</a></td>
<td><a href="../../../content/patterns/grid/examples/data-grids.html">Data Grid</a></td>
<td></td>
<td>Yes</td>
</tr>
<tr>
<td><a href="../../../content/patterns/grid/examples/LayoutGrids.html">Layout Grid</a></td>
<td><a href="../../../content/patterns/grid/examples/layout-grids.html">Layout Grid</a></td>
<td></td>
<td>Yes</td>
</tr>
Expand Down Expand Up @@ -2884,4 +2884,4 @@ <h3 id="example_mouse_pointer">Mouse and Pointer Events</h3>
</main>


</body></html>
</body></html>
26 changes: 13 additions & 13 deletions content/index/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ <h2 id="examples_by_role_label">Examples by Role</h2>
<li><a href="../patterns/combobox/examples/combobox-datepicker.html">Date Picker Combobox</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
<li><a href="../patterns/combobox/examples/grid-combo.html">Editable Combobox with Grid Popup</a></li>
<li><a href="../patterns/dialog-modal/examples/datepicker-dialog.html">Date Picker Dialog</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
<li><a href="../patterns/grid/examples/dataGrids.html">Data Grid</a></li>
<li><a href="../patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../patterns/grid/examples/data-grids.html">Data Grid</a></li>
<li><a href="../patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
</ul>
</td>
</tr>
Expand All @@ -147,7 +147,7 @@ <h2 id="examples_by_role_label">Examples by Role</h2>
<td>
<ul>
<li><a href="../patterns/combobox/examples/grid-combo.html">Editable Combobox with Grid Popup</a></li>
<li><a href="../patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
<li><a href="../patterns/treegrid/examples/treegrid-1.html">Treegrid Email Inbox</a></li>
</ul>
</td>
Expand Down Expand Up @@ -322,7 +322,7 @@ <h2 id="examples_by_role_label">Examples by Role</h2>
<td>
<ul>
<li><a href="../patterns/combobox/examples/grid-combo.html">Editable Combobox with Grid Popup</a></li>
<li><a href="../patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
<li><a href="../patterns/table/examples/table.html">Table</a></li>
<li><a href="../patterns/treegrid/examples/treegrid-1.html">Treegrid Email Inbox</a></li>
</ul>
Expand Down Expand Up @@ -502,11 +502,11 @@ <h2 id="examples_by_props_label">Examples By Properties and States</h2>
</tr>
<tr>
<td><code>aria-colcount</code></td>
<td><a href="../patterns/grid/examples/dataGrids.html">Data Grid</a></td>
<td><a href="../patterns/grid/examples/data-grids.html">Data Grid</a></td>
</tr>
<tr>
<td><code>aria-colindex</code></td>
<td><a href="../patterns/grid/examples/dataGrids.html">Data Grid</a></td>
<td><a href="../patterns/grid/examples/data-grids.html">Data Grid</a></td>
</tr>
<tr>
<td><code>aria-controls</code></td>
Expand Down Expand Up @@ -673,8 +673,8 @@ <h2 id="examples_by_props_label">Examples By Properties and States</h2>
<li><a href="../patterns/dialog-modal/examples/datepicker-dialog.html">Date Picker Dialog</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
<li><a href="../patterns/dialog-modal/examples/dialog.html">Modal Dialog</a></li>
<li><a href="../patterns/feed/examples/feed.html">Feed</a></li>
<li><a href="../patterns/grid/examples/dataGrids.html">Data Grid</a></li>
<li><a href="../patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../patterns/grid/examples/data-grids.html">Data Grid</a></li>
<li><a href="../patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
<li><a href="../patterns/listbox/examples/listbox-collapsible.html">(Deprecated) Collapsible Dropdown Listbox</a></li>
<li><a href="../patterns/listbox/examples/listbox-grouped.html">Listbox with Grouped Options</a></li>
<li><a href="../patterns/listbox/examples/listbox-rearrangeable.html">Listboxes with Rearrangeable Options</a></li>
Expand Down Expand Up @@ -784,17 +784,17 @@ <h2 id="examples_by_props_label">Examples By Properties and States</h2>
<td><code>aria-rowcount</code></td>
<td>
<ul>
<li><a href="../patterns/grid/examples/dataGrids.html">Data Grid</a></li>
<li><a href="../patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../patterns/grid/examples/data-grids.html">Data Grid</a></li>
<li><a href="../patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
</ul>
</td>
</tr>
<tr>
<td><code>aria-rowindex</code></td>
<td>
<ul>
<li><a href="../patterns/grid/examples/dataGrids.html">Data Grid</a></li>
<li><a href="../patterns/grid/examples/LayoutGrids.html">Layout Grid</a></li>
<li><a href="../patterns/grid/examples/data-grids.html">Data Grid</a></li>
<li><a href="../patterns/grid/examples/layout-grids.html">Layout Grid</a></li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -835,7 +835,7 @@ <h2 id="examples_by_props_label">Examples By Properties and States</h2>
<td><code>aria-sort</code></td>
<td>
<ul>
<li><a href="../patterns/grid/examples/dataGrids.html">Data Grid</a></li>
<li><a href="../patterns/grid/examples/data-grids.html">Data Grid</a></li>
<li><a href="../patterns/table/examples/sortable-table.html">Sortable Table</a> (<abbr title="High Contrast Support">HC</abbr>)</li>
</ul>
</td>
Expand Down
6 changes: 3 additions & 3 deletions content/patterns/feed/examples/feed.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h2>About This Example</h2>
<h2 id="ex_label">Example</h2>
<div role="separator" id="ex_start_sep" aria-labelledby="ex_start_sep ex_label" aria-label="Start of"></div>
<div id="ex1">
<p>The example feed experience is presented on a separate <a href="feedDisplay.html">feed display page.</a></p>
<p>The example feed experience is presented on a separate <a href="feed-display.html">feed display page.</a></p>
</div>
<div role="separator" id="ex_end_sep" aria-labelledby="ex_end_sep ex_label" aria-label="End of"></div>
</section>
Expand Down Expand Up @@ -190,7 +190,7 @@ <h2 id="rps_label">Role, Property, State, and Tabindex Attributes</h2>

<section>
<h2>Javascript and CSS Source Code</h2>
<p>The following Javascript and CSS is used by the feedDisplay.html page:</p>
<p>The following Javascript and CSS is used by the feed-display.html page:</p>
<ul>
<li><a href="css/feedDisplay.css" type="tex/css">feedDisplay.css</a></li>
<li>Javascript: <a href="js/feed.js" type="text/javascript">feed.js</a>, <a href="js/feedDisplay.js" type="text/javascript">feedDisplay.js</a>, <a href="js/main.js" type="text/javascript">main.js</a>, <a href="../../../shared/js/utils.js">utils.js</a></li>
Expand All @@ -199,7 +199,7 @@ <h2>Javascript and CSS Source Code</h2>

<section>
<h2 id="sc1_label">HTML Source Code</h2>
<p>Please open <a href="feedDisplay.html">feedDisplay.html</a> and view source.</p>
<p>Please open <a href="feed-display.html">feed-display.html</a> and view source.</p>
</section>
</main>
</body>
Expand Down
Loading

0 comments on commit bfeb2a7

Please sign in to comment.