mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
Add extra text to label rows for screenreaders
This is mainly for the ‘check’ page where we show users the contents of their spreadsheet. > The structure of the table means that the first cell is treated as a > column header, so moving through columns in row 2 for example > associates the data 2 with 1 (column header) - this has no logical > meaning
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
|
|
||||||
{% macro index_field(text) -%}
|
{% macro index_field(text) -%}
|
||||||
<td class="table-field-index">
|
<td class="table-field-index">
|
||||||
<span>{{ text }}</span>
|
<span><span class="visually-hidden">Row </span>{{ text }}</span>
|
||||||
</td>
|
</td>
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user