Skip to content

Commit be85947

Browse files
Merge branch 'w2p-130479_fix-accessibility-issues-for-the-language-toggle-and-recent-submissions'
2 parents daaa810 + 830be1f commit be85947

File tree

28 files changed

+87
-50
lines changed

28 files changed

+87
-50
lines changed

src/app/entity-groups/journal-entities/item-grid-elements/search-result-grid-elements/journal-issue/journal-issue-search-result-grid-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<a
88
[target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
99
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null" [routerLink]="[itemPageRoute]"
10-
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" role="link" tabindex="0">
10+
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" tabindex="-1">
1111
<div>
1212
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="false">
1313
</ds-thumbnail>

src/app/entity-groups/journal-entities/item-grid-elements/search-result-grid-elements/journal-volume/journal-volume-search-result-grid-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<a
88
[target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
99
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null" [routerLink]="[itemPageRoute]"
10-
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" role="link" tabindex="0">
10+
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" tabindex="-1">
1111
<div>
1212
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="false">
1313
</ds-thumbnail>

src/app/entity-groups/journal-entities/item-grid-elements/search-result-grid-elements/journal/journal-search-result-grid-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<a
88
[target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
99
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null" [routerLink]="[itemPageRoute]"
10-
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" role="link" tabindex="0">
10+
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" tabindex="-1">
1111
<div>
1212
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="false">
1313
</ds-thumbnail>

src/app/entity-groups/journal-entities/item-list-elements/search-result-list-elements/journal-issue/journal-issue-search-result-list-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@if (linkType !== linkTypes.None) {
55
<a [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
66
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
7-
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out" role="link" tabindex="0">
7+
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out" tabindex="-1">
88
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
99
</ds-thumbnail>
1010
</a>

src/app/entity-groups/journal-entities/item-list-elements/search-result-list-elements/journal-volume/journal-volume-search-result-list-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@if (linkType !== linkTypes.None) {
55
<a [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
66
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
7-
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out" role="link" tabindex="0">
7+
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out" tabindex="-1">
88
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
99
</ds-thumbnail>
1010
</a>

src/app/entity-groups/journal-entities/item-list-elements/search-result-list-elements/journal/journal-search-result-list-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="col-3 col-md-2">
44
@if (linkType !== linkTypes.None) {
55
<a [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'" [attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
6-
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out" role="link" tabindex="0">
6+
[routerLink]="[itemPageRoute]" class="lead item-list-title dont-break-out" tabindex="-1">
77
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="true">
88
</ds-thumbnail>
99
</a>

src/app/entity-groups/research-entities/item-grid-elements/search-result-grid-elements/org-unit/org-unit-search-result-grid-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<a
88
[target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
99
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null" [routerLink]="[itemPageRoute]"
10-
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" role="link" tabindex="0">
10+
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" tabindex="-1">
1111
<div>
1212
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="false">
1313
</ds-thumbnail>

src/app/entity-groups/research-entities/item-grid-elements/search-result-grid-elements/person/person-search-result-grid-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<a
88
[target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
99
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null" [routerLink]="[itemPageRoute]"
10-
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" role="link" tabindex="0">
10+
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" tabindex="-1">
1111
<div>
1212
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="false">
1313
</ds-thumbnail>

src/app/entity-groups/research-entities/item-grid-elements/search-result-grid-elements/project/project-search-result-grid-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<a
88
[target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
99
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null" [routerLink]="[itemPageRoute]"
10-
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" role="link" tabindex="0">
10+
class="card-img-top full-width" [attr.title]="'search.results.view-result' | translate" tabindex="-1">
1111
<div>
1212
<ds-thumbnail [thumbnail]="dso?.thumbnail | async" [limitWidth]="false">
1313
</ds-thumbnail>

src/app/entity-groups/research-entities/item-list-elements/search-result-list-elements/org-unit/org-unit-search-result-list-element.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@if (linkType !== linkTypes.None) {
55
<a [target]="(linkType === linkTypes.ExternalLink) ? '_blank' : '_self'"
66
[attr.rel]="(linkType === linkTypes.ExternalLink) ? 'noopener noreferrer' : null"
7-
[routerLink]="[itemPageRoute]" class="dont-break-out" role="link" tabindex="0">
7+
[routerLink]="[itemPageRoute]" class="dont-break-out" tabindex="-1">
88
<ds-thumbnail [thumbnail]="dso?.thumbnail | async"
99
[defaultImage]="'assets/images/orgunit-placeholder.svg'"
1010
[alt]="'thumbnail.orgunit.alt'"

0 commit comments

Comments
 (0)