Skip to content

Fix accessibility issues suggested by WAVE#1220

Open
ankurjuneja wants to merge 1 commit into
release26.3-SNAPSHOTfrom
26.3_fb_issue878_accessibility_issues
Open

Fix accessibility issues suggested by WAVE#1220
ankurjuneja wants to merge 1 commit into
release26.3-SNAPSHOTfrom
26.3_fb_issue878_accessibility_issues

Conversation

@ankurjuneja
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Contributor

@labkey-jeckels labkey-jeckels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment

row.child.hide();
tr.removeClass('shown');
$("." + cls).children('img').attr('src', "<%=getWebappURL("_images/plus.gif")%>");
$("." + cls).children('img').attr('src', "<%=getWebappURL("_images/minus.gif")%>");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this backwards now? My comment in the previous PR was meant to say that we should update the text when the code toggles between plus and minus, not that we should flip the plus and minus handling.

For example, on line 274 use plus.gif and use expand as the alt text, and do the same on line 122 (instead of just swapping the icon but leaving the original text)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants