-
Notifications
You must be signed in to change notification settings - Fork 397
Add translations to improve accessibility for account/list checkboxes #2982
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
Changes from 15 commits
5022d66
7c501d1
56a8a70
866144d
17a12f1
a585412
871e14a
828ae1f
3c809fb
dc0bb1c
8c1197b
3bb4467
f433f7d
96d6c06
8b122bf
ec40b0f
faf62d6
18e3f44
7147be0
be2f815
6aa8540
bbcb32f
cbf363b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,7 +47,7 @@ | |
| <?php if ($purgeSelectedAllowed): ?> | ||
| <label> | ||
| <input type="checkbox" name="selectAll" class="checkbox-select-all"/> | ||
| <?=$this->transEsc('select_page')?> | ||
| <?=$this->transEsc('select_all_on_page')?> | ||
| </label> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It looks like the .checkbox on line 46 can be closed here instead of line... actually it may not be closed...
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The checkbox div is closed, but it is wrapped around not just the checkbox but also all of the buttons. This is consistent with the markup style in holds/list.phtml, myresearch/checkedout.phtml, myresearch/illrequests.phtml and myresearch/storageretrievalrequests.phtml as well. As a result, buttons do not wrap as a group, which is inconsistent with the desired behavior we're working on elsewhere. However, because these templates have comparatively few buttons, it is less likely to cause problems in these contexts. It is probably worth making our checkbox+button markup consistent everywhere, but I think fixing this immediately is less critical. |
||
| <div class="btn-group"> | ||
| <input type="submit" id="purgeSelected" name="purgeSelected" value="<?=$this->transEscAttr('loan_history_purge_selected')?>" class="btn btn-default dropdown-toggle" data-toggle="dropdown" data-lightbox-ignore> | ||
|
|
@@ -82,7 +82,7 @@ | |
| <?php if (isset($ilsDetails['row_id'])): ?> | ||
| <?php $safeId = preg_replace('/[^a-zA-Z0-9]/', '', $ilsDetails['row_id']); ?> | ||
| <label> | ||
| <input class="checkbox-select-item" type="checkbox" name="purgeSelectedIDs[]" value="<?=$this->escapeHtmlAttr($ilsDetails['row_id'])?>" id="checkbox_<?=$safeId?>" /> | ||
| <input class="checkbox-select-item" type="checkbox" name="purgeSelectedIDs[]" value="<?=$this->escapeHtmlAttr($ilsDetails['row_id'])?>" id="checkbox_<?=$safeId?>" aria-label="<?=$this->transEscAttr('select_item_purge')?>"/> | ||
| </label> | ||
| <?php else: ?> | ||
| <label> </label> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.