Skip to content

Commit 86e1f12

Browse files
committed
Add alt tags to the - icon and dropdown icons in the grid
1 parent 1db5d8d commit 86e1f12

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

api/src/org/labkey/api/query/AbstractNestableDataRegion.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838

3939
import static org.labkey.api.util.DOM.A;
4040
import static org.labkey.api.util.DOM.Attribute.align;
41+
import static org.labkey.api.util.DOM.Attribute.alt;
4142
import static org.labkey.api.util.DOM.Attribute.colspan;
4243
import static org.labkey.api.util.DOM.Attribute.id;
4344
import static org.labkey.api.util.DOM.Attribute.src;
@@ -94,7 +95,8 @@ protected void renderExtraRecordSelectorContent(RenderContext ctx, HtmlWriter ou
9495
at(
9596
id, getName() + "-Handle" + value,
9697
valign, "middle",
97-
src, ctx.getViewContext().getContextPath() + "/_images/" + (_expanded ? "minus" : "plus") + ".gif"
98+
src, ctx.getViewContext().getContextPath() + "/_images/" + (_expanded ? "minus" : "plus") + ".gif",
99+
alt, _expanded ? "Collapse row" : "Expand row"
98100
)
99101
)
100102
).appendTo(out);

0 commit comments

Comments
 (0)