From 860d6d51b9b419c15d48f918138d0f0385fd38be Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Tue, 3 Jan 2017 17:38:08 +0100 Subject: [PATCH] Frio: add "aria-describedby" to the field templates --- view/theme/frio/templates/field_checkbox.tpl | 6 +++--- view/theme/frio/templates/field_colorinput.tpl | 5 +++-- view/theme/frio/templates/field_fileinput.tpl | 5 +++-- view/theme/frio/templates/field_intcheckbox.tpl | 4 ++-- view/theme/frio/templates/field_radio.tpl | 4 ++-- view/theme/frio/templates/field_themeselect.tpl | 2 +- view/theme/frio/templates/group_side.tpl | 1 + view/theme/frio/templates/theme_settings.tpl | 5 ++--- 8 files changed, 17 insertions(+), 15 deletions(-) diff --git a/view/theme/frio/templates/field_checkbox.tpl b/view/theme/frio/templates/field_checkbox.tpl index 1062269236..f938b55aa1 100644 --- a/view/theme/frio/templates/field_checkbox.tpl +++ b/view/theme/frio/templates/field_checkbox.tpl @@ -1,9 +1,9 @@
- +
\ No newline at end of file diff --git a/view/theme/frio/templates/field_colorinput.tpl b/view/theme/frio/templates/field_colorinput.tpl index c41c50df90..886d647e9c 100644 --- a/view/theme/frio/templates/field_colorinput.tpl +++ b/view/theme/frio/templates/field_colorinput.tpl @@ -2,9 +2,10 @@
- {{if $field.4}} {{$field.4}} {{/if}} + + {{if $field.4}}{{$field.4}}{{/if}}
- {{$field.3}} + {{$field.3}}
diff --git a/view/theme/frio/templates/field_fileinput.tpl b/view/theme/frio/templates/field_fileinput.tpl index ebaa76941d..721a6535fb 100644 --- a/view/theme/frio/templates/field_fileinput.tpl +++ b/view/theme/frio/templates/field_fileinput.tpl @@ -2,9 +2,10 @@
- {{if $field.4}} {{$field.4}} {{/if}} + + {{if $field.4}}{{$field.4}}{{/if}}
- {{$field.3}} + {{$field.3}}
diff --git a/view/theme/frio/templates/field_intcheckbox.tpl b/view/theme/frio/templates/field_intcheckbox.tpl index 192cf73841..8863d14c4d 100644 --- a/view/theme/frio/templates/field_intcheckbox.tpl +++ b/view/theme/frio/templates/field_intcheckbox.tpl @@ -1,7 +1,7 @@
- + - {{$field.4}} + {{$field.4}}
diff --git a/view/theme/frio/templates/field_radio.tpl b/view/theme/frio/templates/field_radio.tpl index 3288009536..970e25000b 100644 --- a/view/theme/frio/templates/field_radio.tpl +++ b/view/theme/frio/templates/field_radio.tpl @@ -1,10 +1,10 @@
- +
\ No newline at end of file diff --git a/view/theme/frio/templates/field_themeselect.tpl b/view/theme/frio/templates/field_themeselect.tpl index 04f4e82b1c..7ecdf57e64 100644 --- a/view/theme/frio/templates/field_themeselect.tpl +++ b/view/theme/frio/templates/field_themeselect.tpl @@ -5,6 +5,6 @@ - {{$field.3}} + {{$field.3}} {{if $field.5=="preview"}}
{{/if}} \ No newline at end of file diff --git a/view/theme/frio/templates/group_side.tpl b/view/theme/frio/templates/group_side.tpl index 682da5e118..e892c9bed0 100644 --- a/view/theme/frio/templates/group_side.tpl +++ b/view/theme/frio/templates/group_side.tpl @@ -13,6 +13,7 @@ class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action" onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;" {{if $group.ismember}}checked="checked"{{/if}} + aria-checked="{{if $group.ismember}}true{{else}}false{{/if}}" />
diff --git a/view/theme/frio/templates/theme_settings.tpl b/view/theme/frio/templates/theme_settings.tpl index aa0b6ca56a..83b466b73b 100644 --- a/view/theme/frio/templates/theme_settings.tpl +++ b/view/theme/frio/templates/theme_settings.tpl @@ -16,8 +16,8 @@ {{if $contentbg_transp}}
- - {{$contentbg_transp.3}} + + {{$contentbg_transp.3}}
{{/if}} @@ -69,6 +69,5 @@