? Pending

User tests: Successful: Unsuccessful:

avatar chmst
chmst
11 Jul 2018

Pull Request for Issue # .

Summary of Changes

The dismiss button in the modal header is not read correctly by the screan reader. It reads "multiplication operator" - depending on the language. In German "mal" (2 x 2 = 4).
The PR adds a aria label "closed" and hides the "X" which is read as "multiplication operator", so the screen reader reads "close".

Testing Instructions

Open a modal, for example in articles overview, Batch-Button.
Hear what the screen reader says before and after the Patch.
Make sure that the dismiss-button is the same before and after the patch.

Documentation Changes Required

no

avatar chmst chmst - open - 11 Jul 2018
avatar chmst chmst - change - 11 Jul 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Jul 2018
Category Administration com_users Language & Strings Layout
avatar chmst
chmst - comment - 11 Jul 2018

@zero24 please help :) This is only a PR for the last commit a0276cf


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

avatar chmst chmst - change - 11 Jul 2018
Labels Added: ? ?
avatar chmst chmst - change - 11 Jul 2018
Title
Modal dismiss button
[4.0] Modal dismiss button
avatar chmst chmst - edited - 11 Jul 2018
avatar zwiastunsw
zwiastunsw - comment - 11 Jul 2018

Incorrectly uploaded files to be changed - 5 files from com_user unnecessary

avatar joomla-cms-bot joomla-cms-bot - change - 12 Jul 2018
Category Administration com_users Language & Strings Layout Layout
avatar zwiastunsw zwiastunsw - test_item - 12 Jul 2018 - Tested successfully
avatar zwiastunsw
zwiastunsw - comment - 12 Jul 2018

I have tested this item successfully on 1800d8e

Env.: Windows 10, NVDA 2018.2.1


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

avatar chmst chmst - change - 12 Jul 2018
Labels Removed: ?
avatar SharkyKZ
SharkyKZ - comment - 12 Jul 2018

Opinions on Close vs Cancel for closing modals?

avatar SharkyKZ
SharkyKZ - comment - 12 Jul 2018

By the way, there's PR #20682 for 3.x that includes this fix. If it gets merged, it should reach 4.0 eventually.

avatar brianteeman
brianteeman - comment - 12 Jul 2018

In this case as we have a pr elsewhere for j3 we should fix it there and then it will be ported to j4 by @wilsonge

avatar chmst
chmst - comment - 12 Jul 2018

@SharkyKZ Both is possible. If I see only a message, as in an alert, then I would say "close" but "cancel" is not wrong. In a Modal with a form in it, closing the modal also cancels every input. So Cancel is valid in both cases.

avatar zero-24
zero-24 - comment - 12 Jul 2018

@chmst I have just removed the other commits and reapplied your changes. ?

avatar wilsonge wilsonge - change - 19 Jul 2018
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-07-19 18:10:35
Closed_By wilsonge
avatar wilsonge wilsonge - close - 19 Jul 2018
avatar wilsonge wilsonge - merge - 19 Jul 2018
avatar wilsonge
wilsonge - comment - 19 Jul 2018

Merging this for now - thanks guys!

Add a Comment

Login with GitHub to post a comment