SSAgov / ANDI

A tool to test web content for accessibility and 508 compliance.
https://www.ssa.gov/accessibility/andi/help/howtouse.html
Other
293 stars 75 forks source link

I don't see alert_0233 show up when I inspect a table with role = "grid" #183

Open ollie-iterators opened 1 year ago

ollie-iterators commented 1 year ago

I don't see alert_0233 show up on ANDI when I inspect a table with role = "grid" on tANDI.

Here is the HTML code that was used to make the table with role = "grid"

</tr>
<tr>
  <th scope="row">Aisle 2</th>
  <td tabindex="-1">
    <button id="2a" tabindex="-1">2A</button>
  </td>
  <td tabindex="-1">
    <button id="2b" tabindex="-1">2B</button>
  </td>
  <!-- More Columns -->
</tr>

---!>

JohnCotterSSA commented 1 year ago

Can you please paste the code? The comment above does not show code. Thank you.

ollie-iterators commented 1 year ago

Ok, I changed the comment above to show code

ollie-iterators commented 1 year ago

In the table the role is grid and aria-labelledby is "id-select-your-seat"

It has a caption element with the id "id-select-your-seat" and the text "Select your seat"

Also has tbody role = "presentation" and tr role = "presentation" before the code starts.

ollie-iterators commented 1 year ago

Is there a better way to get the code to show because some of the code appears to not be shown right now?