-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(a11y): no-styles support, SR improvements for multiselect (#30)
* fix(a11y): make initial input field hidden * fix(a11y): SR description for multiselected fields * fix: comment syntax to DTL
- Loading branch information
1 parent
f35d596
commit 4be3b5a
Showing
8 changed files
with
60 additions
and
9 deletions.
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
2 changes: 2 additions & 0 deletions
2
autocomplete/templates/autocomplete/strings/backspace_instruction.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{% load i18n %} | ||
{% translate "Press backspace to delete the last selected item." %} |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{% load i18n %} | ||
{% translate "selected." %} |
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 @@ | ||
{# Hidden input elements used to maintain the component's state #} | ||
{# and used when submitting forms #} | ||
{% comment %} Hidden input elements used to maintain the component's state {% endcomment %} | ||
{% comment %} and used when submitting forms {% endcomment %} | ||
{% for value in values %} | ||
<input type="hidden" name="{{ name }}" value="{{ value }}" /> | ||
{% endfor %} | ||
{% if required and values|length == 0 %} | ||
<input type="text" name="{{ name }}" required class="ac_required_input" tabindex="-1" aria-hidden="true"> | ||
<input type="hidden" type="text" name="{{ name }}" required class="ac_required_input" tabindex="-1" aria-hidden="true"> | ||
{% endif %} |