? ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
24 Jun 2019

This PR addresses various accessibility issues when creating new language overrides. This includes

  • a button should be a button
  • search input must have a label
  • remove invalid description reference
  • move message "refreshing cache" so it is not obscured by dropdown

image

avatar brianteeman brianteeman - open - 24 Jun 2019
avatar brianteeman brianteeman - change - 24 Jun 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jun 2019
Category Administration com_languages
f6a4c62 24 Jun 2019 avatar brianteeman oops
avatar brianteeman brianteeman - change - 24 Jun 2019
Labels Added: ?
avatar franz-wohlkoenig franz-wohlkoenig - change - 25 Jun 2019
Title
[4.0] Creating language overrides accessibility issues [a11y]
[4.0] Creating language overrides accessibility issues
avatar franz-wohlkoenig franz-wohlkoenig - edited - 25 Jun 2019
avatar brianteeman brianteeman - change - 25 Jun 2019
Title
[4.0] Creating language overrides accessibility issues
[4.0] Creating language overrides - accessibility issues
avatar brianteeman brianteeman - edited - 25 Jun 2019
avatar Quy Quy - test_item - 28 Jun 2019 - Tested successfully
avatar Quy
Quy - comment - 28 Jun 2019

I have tested this item successfully on f6a4c62


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25319.

avatar brianteeman brianteeman - change - 1 Jul 2019
Labels Added: ?
avatar joomleb
joomleb - comment - 6 Jul 2019

Hi guys,
what I don't understand is why the "Search for" must be a dropdown menu (just for 2 values: Value and Constant)...
Why not have just a selector button (left / right > Value / Constant) on the left or above the "Search" field ?

avatar brianteeman
brianteeman - comment - 6 Jul 2019

Good point. I will update the pr.

avatar brianteeman
brianteeman - comment - 6 Jul 2019

Updated thanks - for the suggestion

avatar infograf768
infograf768 - comment - 6 Jul 2019

Creating new override:
Clicking on the Search button when the field is empty redirects to administrator/index.php?option=com_languages&id=
In 3.x and before this patch in 4.x it just highlights the field itself.

Also: Search button is totally broken even when the field is not empty.

avatar infograf768
infograf768 - comment - 6 Jul 2019

Looks related to the change to the searchtype field.
Using type radio instead of list

Correction: It looks also related to class="switcher"

avatar infograf768
infograf768 - comment - 6 Jul 2019

I have tested this item ? unsuccessfully on 01999a7


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25319.

avatar infograf768 infograf768 - test_item - 6 Jul 2019 - Tested unsuccessfully
avatar infograf768
infograf768 - comment - 7 Jul 2019

Further test show that the overrider.js is impacted by this change in type.
var formSearchType = document.getElementById('jform_searchtype');
and
this.states.searchType = formSearchType.value || 'value';
do work when type is list.
no more when type is radio.

avatar brianteeman
brianteeman - comment - 7 Jul 2019

I have reverted the change to the switcher from the list. I can see how the js breaks but I dont have the skills to fix it. It can always be addressed in its own PR as it doesnt affect a11y which was the aim of this PR

avatar infograf768 infograf768 - test_item - 8 Jul 2019 - Tested successfully
avatar infograf768
infograf768 - comment - 8 Jul 2019

I have tested this item successfully on 491e9e5


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25319.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 8 Jul 2019

@Quy can you please retest?

avatar Quy Quy - test_item - 8 Jul 2019 - Tested successfully
avatar Quy
Quy - comment - 8 Jul 2019

I have tested this item successfully on 491e9e5


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25319.

avatar Quy
Quy - comment - 8 Jul 2019

I have tested this item successfully on 491e9e5


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25319.

avatar Quy Quy - change - 8 Jul 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 8 Jul 2019

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25319.

avatar infograf768 infograf768 - change - 8 Jul 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-07-08 16:37:16
Closed_By infograf768
Labels Added: ?
avatar infograf768 infograf768 - close - 8 Jul 2019
avatar infograf768 infograf768 - merge - 8 Jul 2019
avatar infograf768
infograf768 - comment - 8 Jul 2019

Tks.

avatar brianteeman
brianteeman - comment - 8 Jul 2019

Thanks

Add a Comment

Login with GitHub to post a comment