Skip to content

Commit 3cffab5

Browse files
brendanx67claude
andcommitted
Added visually-hidden tool name to download buttons for accessibility
* Screen readers can now distinguish download buttons by tool name Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 7b609de commit 3cffab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SkylineToolsStore/src/org/labkey/skylinetoolsstore/view/SkylineToolsStoreWebPart.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200

201201
<div class="toolButtons">
202202

203-
<button type="button" id="download-tool-btn-<%=tool.getRowId()%>" class="styled-button">Download</button>
203+
<button type="button" id="download-tool-btn-<%=tool.getRowId()%>" class="styled-button">Download <span class="visually-hidden"><%=h(tool.getName())%></span></button>
204204
<% addHandler("download-tool-btn-" + tool.getRowId(), "click", "window.location.href = " + q(urlFor(SkylineToolsStoreController.DownloadToolAction.class).addParameter("id", tool.getRowId()))); %>
205205
<%
206206
if (suppFiles.size() == 1) {

0 commit comments

Comments
 (0)