forked from vivo-community/scholars-angular
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Issue 410 accessibility improvements #416
Merged
Dbreck-TAMU
merged 35 commits into
sprint-9-staging
from
sprint9-410-accessibility-improvements
Jan 24, 2025
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
c4027ee
Updated Accessibility
Dbreck-TAMU 84c224f
Shared components accessibility improvements
XBreck 06d69e6
header accessibility improvements
Dbreck-TAMU 589feba
footer accessibility improvements
Dbreck-TAMU 76316df
visualization accessibility improvements
Dbreck-TAMU 35a5cd1
display accessibility improvements
Dbreck-TAMU cd3dd1b
discovery accessibility improvements
Dbreck-TAMU 7a1dffa
directory accessibility improvements
Dbreck-TAMU 9b00bfc
Accessibility fixes for Angular
Dbreck-TAMU 242f315
about component accessibility improvements
Dbreck-TAMU 59c5735
410: Manually override pagination colors to enforce color contrast ra…
kaladay 8f3c72b
Merge pull request #423 from TAMULib/sprint9-410-accessibility-improv…
Dbreck-TAMU 101e5b4
Merge branch 'sprint-9-staging' into sprint9-410-accessibility-improv…
Dbreck-TAMU 16d2437
Reapplied merge issues
Dbreck-TAMU b659d97
updated aria-labels to be translatable
Dbreck-TAMU 682c5da
Removed labels for explicity named <a> tags
Dbreck-TAMU ebd6636
Removed aria labels for text based links
Dbreck-TAMU 9f3c86d
Merge branch 'sprint9-410-accessibility-improvements' of github.com:T…
Dbreck-TAMU 90ab69f
Corrected footer expression
Dbreck-TAMU fb7c289
accessibility improvements
Dbreck-TAMU 65a0365
removed extraneous aria labels
Dbreck-TAMU 81a841d
410: Manually override pagination colors to enforce color contrast ra…
kaladay 9d649af
removed extraneous aria labels
Dbreck-TAMU c2d6306
Removed extraneous aria labels
Dbreck-TAMU 338afcd
Merge pull request #424 from TAMULib/sprint9-410-accessibility-improv…
Dbreck-TAMU 66cd7de
Update src/app/+directory/directory.component.html
Dbreck-TAMU bc7b232
Adjusted accessibility items
Dbreck-TAMU 984a421
Removed re-useable accessibility label
Dbreck-TAMU ad4e969
Correct bad merge for tab.component
Dbreck-TAMU 70eea01
removed potential label duplicates
Dbreck-TAMU 7035cd9
Update src/app/shared/sidebar/sidebar.component.html
Dbreck-TAMU a558c0b
removed labelledby property
Dbreck-TAMU ccb13de
Merge branch 'sprint9-410-accessibility-improvements' of github.com:T…
Dbreck-TAMU 1bdf5a2
Removed non-unique accessibility properties
Dbreck-TAMU 3c4b15c
Removed extraneous labels
Dbreck-TAMU File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/app/+visualization/co-author-network/co-author-network.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<div class="banner"> | ||
<div class="container" *ngIf="banner | async; let banner"> | ||
<a [routerLink]="['/']"> | ||
<img *ngIf="banner.imageUri" src="{{banner.imageUri}}" alt="{{ 'HEADER.BANNER.LOGO_ALT' | translate }}"> | ||
<h1 hidden="!banner.imageUri" class="font-weight-bold text-white">{{banner.altText}}</h1> | ||
<a [routerLink]="['/']" aria-label="Go to homepage"> | ||
<img *ngIf="banner.imageUri" src="{{banner.imageUri}}" alt="{{ 'HEADER.BANNER.LOGO_ALT' | translate }}" aria-hidden="false"> | ||
<h1 hidden="!banner.imageUri" class="font-weight-bold text-white" [attr.aria-hidden]="banner.imageUri ? 'true' : 'false'">{{banner.altText}}</h1> | ||
</a> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are fine for now because there is no formal label.
However, with
label="People"
and label being defined inside the resulting expanded markup haspeople
in it.This can be changed to have an id and then given a
aria-labelledby
association.This would avoid repeated the
aria-label
.