? ? ? Pending

User tests: Successful: Unsuccessful:

avatar Krshivam25
Krshivam25
3 Jun 2021

For any container whose contents act as a dialog box (for example, a modal dialog asking the user to make a choice or respond to an action being taken), give it a descriptive label or name, so that assistive technology users can easily discover what its purpose is.

Testing Instructions :
Screenshot (269)

Arrow Indicating Dialog box .

Improvement: Dialog was not accessible before. Whenever we are adding a dialog role we must provide an accessible name for a dialog, which can be done with the aria-label or aria-labelledby attribute.

avatar Krshivam25 Krshivam25 - open - 3 Jun 2021
avatar Krshivam25 Krshivam25 - change - 3 Jun 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jun 2021
Category Front End Plugins
avatar sandramay0905
sandramay0905 - comment - 4 Jun 2021

@Krshivam25 can you please provide test instructions?

avatar jwaisner
jwaisner - comment - 6 Jun 2021

@Krshivam25 , can you please provide testing instructions for your PR?

avatar Krshivam25 Krshivam25 - change - 7 Jun 2021
The description was changed
avatar Krshivam25 Krshivam25 - edited - 7 Jun 2021
avatar RickR2H RickR2H - test_item - 17 Jun 2021 - Tested successfully
avatar RickR2H
RickR2H - comment - 17 Jun 2021

I have tested this item successfully on a3f8154


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

avatar RickR2H
RickR2H - comment - 17 Jun 2021

@jwaisner and @sandramay0905 Just look if the aria-label is added to the dialog after applying the patch.

screen shot 2021-06-17 at 11 46 47


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

avatar brianteeman
brianteeman - comment - 17 Jun 2021

Instead of duplicating the text it is better to add an id to the heading and use aria-labelledby

avatar hans2103
hans2103 - comment - 16 Jul 2021

@Krshivam25

you write:

<joomla-alert type="info" dismiss="true" class="js-pstats-alert hidden" role="alertdialog" aria-label="<?php echo Text::_('PLG_SYSTEM_STATS_LABEL_MESSAGE_TITLE'); ?>">
	<div class="alert-heading"><?php echo Text::_('PLG_SYSTEM_STATS_LABEL_MESSAGE_TITLE'); ?></div>

and just like @brianteeman writes, you can prevent double text by another implementation...using aria-labelledby

<joomla-alert type="info" dismiss="true" class="js-pstats-alert hidden" role="alertdialog" aria-labelledby="alert-stats-heading">
	<div id="alert-stats-heading" class="alert-heading"><?php echo Text::_('PLG_SYSTEM_STATS_LABEL_MESSAGE_TITLE'); ?></div>
avatar Krshivam25 Krshivam25 - change - 17 Jul 2021
Labels Added: ? ? ?
avatar Krshivam25 Krshivam25 - change - 17 Jul 2021
Labels Added: ? ?
Removed: ? ?
avatar Quy Quy - test_item - 17 Jul 2021 - Tested successfully
avatar Quy
Quy - comment - 17 Jul 2021

I have tested this item successfully on bbde261


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

avatar hans2103 hans2103 - test_item - 17 Jul 2021 - Tested successfully
avatar hans2103
hans2103 - comment - 17 Jul 2021

I have tested this item successfully on bbde261


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

avatar Quy Quy - change - 18 Jul 2021
Status Pending Ready to Commit
avatar Quy
Quy - comment - 18 Jul 2021

RTC


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

avatar Krshivam25
Krshivam25 - comment - 18 Jul 2021

Thank you

avatar chmst chmst - change - 21 Jul 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-07-21 09:52:42
Closed_By chmst
Labels Added: ? ?
Removed: ? ?
avatar chmst chmst - close - 21 Jul 2021
avatar chmst chmst - merge - 21 Jul 2021
avatar chmst
chmst - comment - 21 Jul 2021

Thanks!

Add a Comment

Login with GitHub to post a comment