Skip to content

[4.0] [Banners] One button for similar actions#33878

Merged
Quy merged 1 commit intojoomla:4.0-devfrom
Kostelano:4.0-reset-but
May 15, 2021
Merged

[4.0] [Banners] One button for similar actions#33878
Quy merged 1 commit intojoomla:4.0-devfrom
Kostelano:4.0-reset-but

Conversation

@Kostelano
Copy link
Copy Markdown
Contributor

@Kostelano Kostelano commented May 14, 2021

Pull Request for Issue # .

Summary of Changes

PR improves the display of reset buttons in the Banners component (see screenshot) + adds a constant that can be used in the future for similar actions.

BEFORE / AFTER

Screenshot_1

Testing Instructions

Go to the banners component and create a new banner. On the second tab, pay attention to the reset buttons.

Documentation Changes Required

Not

@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-4.0-dev labels May 14, 2021
@ghost
Copy link
Copy Markdown

ghost commented May 15, 2021

I have tested this item ✅ successfully on d8d42ee


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

1 similar comment
@ceford
Copy link
Copy Markdown
Contributor

ceford commented May 15, 2021

I have tested this item ✅ successfully on d8d42ee


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

@richard67
Copy link
Copy Markdown
Member

@brianteeman Do I assume right that the change made by this PR here is ok regarding a11y because the buttons have aria-hidden="true" so a screen reader won't read them anyway?

@Quy
Copy link
Copy Markdown
Contributor

Quy commented May 15, 2021

aria-hidden="true" applies to the icon and not the button.

@richard67
Copy link
Copy Markdown
Member

Oh, then maybe someone really should check with a screen reader.

@brianteeman
Copy link
Copy Markdown
Contributor

Changing to just say reset is no different to similar fields where we have create/edit

@brianteeman
Copy link
Copy Markdown
Contributor

But you don't need to keep asking me for accessibility issues you can ask the accessibility team

@richard67
Copy link
Copy Markdown
Member

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label May 15, 2021
@richard67 richard67 added this to the Joomla 4.0 milestone May 15, 2021
@Quy Quy merged commit 7280970 into joomla:4.0-dev May 15, 2021
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label May 15, 2021
@Quy
Copy link
Copy Markdown
Contributor

Quy commented May 15, 2021

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Language Change This is for Translators

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants