Skip to content

Commit

Permalink
Improve a11y by providing explicit descriptive headers for enums.
Browse files Browse the repository at this point in the history
  • Loading branch information
alastor0325 committed Sep 1, 2022
1 parent 2171e17 commit 289ad27
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ div.enum-description > table > thead > tr > th {
<table class="simple" dfn-for="AutoplayPolicy" dfn-type="enum-value">
<thead>
<tr>
<th scope="col" colspan="2">
Enumeration description
<tr>
<th scope="col">Enum Value</th>
<th scope="col">Description</th>
</tr>
<tbody>
<tr>
<td>
Expand Down Expand Up @@ -149,8 +151,10 @@ div.enum-description > table > thead > tr > th {
<table class="simple" dfn-for="AutoplayPolicyMediaType" dfn-type="enum-value">
<thead>
<tr>
<th scope="col" colspan="2">
Enumeration description
<tr>
<th scope="col">Enum Value</th>
<th scope="col">Description</th>
</tr>
<tbody>
<tr>
<td>
Expand Down

0 comments on commit 289ad27

Please sign in to comment.