Skip to content

Update sidebar toggle layout for aria#18362

Merged
mbabker merged 2 commits intojoomla:stagingfrom
brianteeman:toggle-aria
Oct 24, 2017
Merged

Update sidebar toggle layout for aria#18362
mbabker merged 2 commits intojoomla:stagingfrom
brianteeman:toggle-aria

Conversation

@brianteeman
Copy link
Copy Markdown
Contributor

@brianteeman brianteeman commented Oct 18, 2017

This PR updates the toggle sidebar layout used in the admin eg com_content
It ensures that there is an aria-label and that the icon is hidden as per the fontawesome recommendations applied elsewhere

This PR updates the toggle sidebar layout used in the admin eg com_content
It ensures that there is an aria-label and that the icon is hidden as per the fontawesome recommendations applied elsewhere
@Quy
Copy link
Copy Markdown
Contributor

Quy commented Oct 18, 2017

I have tested this item ✅ successfully on 96b46be


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

$main.removeClass('span12 expanded').addClass('span10');
$toggleSidebarIcon.removeClass(closedIcon).addClass(openIcon);
$toggleButton.attr( 'data-original-title', Joomla.JText._('JTOGGLE_HIDE_SIDEBAR') );
$toggleButton.attr( 'aria-label', Joomla.JText._('JTOGGLE_HIDE_SIDEBAR') );
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extraneous tabs after the ; for both lines added 370 and 395

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot. I can't edit those in github.com from my tablet so will have to do it later tonight

@ghost
Copy link
Copy Markdown

ghost commented Oct 22, 2017

@Quy can you please describe how you test?


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

@Quy
Copy link
Copy Markdown
Contributor

Quy commented Oct 24, 2017

In Firefox, enable Developer Toolbar
Go to Contents > Articles
Pick an element per the Developer Toolbar
View the Inspector panel

Before PR:
sidebar-before

After PR:
sidebar-after

@ghost
Copy link
Copy Markdown

ghost commented Oct 24, 2017

I have tested this item ✅ successfully on 96b46be


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

@ghost
Copy link
Copy Markdown

ghost commented Oct 24, 2017

RTC after two successful tests.

@joomla-cms-bot joomla-cms-bot added RTC This Pull Request is Ready To Commit PR-staging and removed RTC This Pull Request is Ready To Commit labels Oct 24, 2017
@brianteeman
Copy link
Copy Markdown
Contributor Author

Thanks

@brianteeman brianteeman deleted the toggle-aria branch October 24, 2017 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants