Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Government Publications Portal v2.2 #53

Merged
merged 18 commits into from
Apr 1, 2019
Merged

Government Publications Portal v2.2 #53

merged 18 commits into from
Apr 1, 2019

Conversation

zgary
Copy link

@zgary zgary commented Apr 1, 2019

No description provided.

@zgary zgary self-assigned this Apr 1, 2019
Copy link

@accesslint accesslint bot left a comment

Choose a reason for hiding this comment

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

There are accessibility issues in these changes.

@@ -495,7 +495,7 @@
<% } %>
</td>
<td headers="t4" class="<%= row %>RowOddCol">
<input class="form-control" type="text" name="language_<%= key %>_<%= sequenceNumber %>" value="<%= (dcv.get(i).getLanguage() == null ? "" : dcv.get(i).getLanguage().trim()) %>" size="5"/>
<input class="form-control" type="text" name="language_<%= key %>_<%= sequenceNumber %>" value="<%= (dcv.get(i).getLanguage() == null ? "" : Utils.addEntities(dcv.get(i).getLanguage().trim())) %>" size="5"/>
Copy link

Choose a reason for hiding this comment

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

Looks like there's a label missing for this input. That makes it hard for people using screen readers or voice control to use the input. If you don't want a visual label, try an aria-label attribute.

<img src="<%= request.getContextPath() %>/static/img/doris-banner.jpg" style="max-width: 50%; max-height: 50%;" >
<div class="col-md-12 brand" style="text-align: center">
<a href="<%= request.getContextPath() %>/">
<img src="<%= request.getContextPath() %>/static/img/doris-logo.png">
Copy link

Choose a reason for hiding this comment

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

This image is missing a text alternative (alt attribute). This is a problem for people using screen readers.

@zgary zgary merged commit 7105b65 into master Apr 1, 2019
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