Skip to content

Commit

Permalink
Merged in bugfix/a11y-issues-r4 (pull request #210)
Browse files Browse the repository at this point in the history
Accessibility issue fixes
  • Loading branch information
rmathis committed Oct 2, 2018
2 parents b36bb71 + 85a13c5 commit 85e4968
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 7 deletions.
2 changes: 1 addition & 1 deletion backend/src/main/resources/i18n/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ tooltip.enable-provider-upon-saving=Enable Metadata Provider upon saving?
tooltip.max-validity-interval=Defines the window within which the metadata is valid.
tooltip.require-signed-root=If true, this fails to load metadata with no signature on the root XML element.
tooltip.certificate-file=A key used to verify the signature. Conflicts with trustEngineRef and both of the child elements.
tooltip.retained-roles=Retained Roles
tooltip.retained-roles=Controls whether to keep entity descriptors that contain no roles
tooltip.remove-roleless-entity-descriptors=Controls whether to keep entity descriptors that contain no roles.
tooltip.remove-empty-entities-descriptors=Controls whether to keep entities descriptors that contain no entity descriptors.

Expand Down
2 changes: 1 addition & 1 deletion backend/src/main/resources/i18n/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ tooltip.enable-provider-upon-saving=Enable Metadata Provider upon saving?
tooltip.max-validity-interval=Defines the window within which the metadata is valid.
tooltip.require-signed-root=If true, this fails to load metadata with no signature on the root XML element.
tooltip.certificate-file=A key used to verify the signature. Conflicts with trustEngineRef and both of the child elements.
tooltip.retained-roles=Retained Roles
tooltip.retained-roles=Controls whether to keep entity descriptors that contain no roles
tooltip.remove-roleless-entity-descriptors=Controls whether to keep entity descriptors that contain no roles.
tooltip.remove-empty-entities-descriptors=Controls whether to keep entities descriptors that contain no entity descriptors.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ <h3 class="tag tag-success tag-sm my-4">
<tbody>
<tr *ngFor="let contact of resolver.contacts">
<td>{{ contact.name }}</td>
<td>{{ contact.emailAddress }}</td>
<td class="br-word">{{ contact.emailAddress }}</td>
<td>{{ contact.type }}</td>
</tr>
</tbody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,15 @@
<info-icon [description]="'tooltip.mdui-logo-width' | translate"></info-icon>
</span>
</div>
<input id="logoWidth" type="number" class="form-control" placeholder="" formControlName="logoWidth" step="1" role="textbox" />
<input id="logoWidth"
type="number"
class="form-control"
placeholder=""
formControlName="logoWidth"
step="1"
role="textbox"
min="0"
onkeypress="return (event.charCode == 8 || event.charCode == 0 || event.charCode == 13) ? null : event.charCode >= 48 && event.charCode <= 57"/>
<small class="form-text text-secondary" translate="message.must-be-integer">Must be an integer equal to or greater than 0</small>
</div>
</div>
Expand All @@ -99,7 +107,15 @@
<info-icon [description]="'tooltip.mdui-logo-height' | translate"></info-icon>
</span>
</div>
<input id="logoHeight" type="number" class="form-control" placeholder="" formControlName="logoHeight" step="1" role="textbox" />
<input id="logoHeight"
type="number"
class="form-control"
placeholder=""
formControlName="logoHeight"
step="1"
role="textbox"
min="0"
onkeypress="return (event.charCode == 8 || event.charCode == 0 || event.charCode == 13) ? null : event.charCode >= 48 && event.charCode <= 57" />
<small class="form-text text-secondary" translate="message.must-be-integer">Must be an integer equal to or greater than 0</small>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h3 class="tag tag-primary">
</ng-container>
</div>
<div class="form-group">
<label translate="label.service-resolver-file" for="fileInput">Select Resolver Metadata File</label>
<label translate="label.service-resolver-file">Select Resolver Metadata File</label>
<div class="custom-file d-block">
<input id="fileInput" type="file" name="file" class="custom-file-input" (change)="fileChange($event)" />
<label for="fileInput" class="custom-file-label">
Expand Down
6 changes: 5 additions & 1 deletion ui/src/theme/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
font-size: 2.5rem;
font-weight: normal;
line-height: 1.2;
}
}

.br-word {
word-break: break-word;
}

0 comments on commit 85e4968

Please sign in to comment.