Skip to content

Commit

Permalink
Use title as SR context and to further explain sort
Browse files Browse the repository at this point in the history
  • Loading branch information
ashley-hebler committed Dec 21, 2020
1 parent 1d42b3d commit 9d3e178
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions assets/scss/6-components/table/table.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
<tr>
<th class="t-align-left"><strong>A</strong></th>
<th class="t-align-left">
<strong>B</strong>
<button>
<span class="is-sr-only">Sort B by ascending</span>
<button title="Sort by B in descending order">
<strong>B</strong>
<span class="c-icon c-icon--baseline t-size-xs">
<svg aria-hidden="true"><use xlink:href="#caret-down"></use></svg>
</span>
Expand Down

0 comments on commit 9d3e178

Please sign in to comment.