Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addresses #171 (Missing img alt attributes in admin menu) #205

Merged
merged 2 commits into from Nov 3, 2018

Conversation

senlin
Copy link
Contributor

@senlin senlin commented Nov 3, 2018

Added the missing alt tags:

  • alt="ClassicPress" for the primary one
  • alt="" for the multisite blogs list

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

src/wp-includes/admin-bar.php Outdated Show resolved Hide resolved
@senlin senlin requested a review from nylen November 3, 2018 12:35
@senlin senlin merged commit 27ae313 into develop Nov 3, 2018
@senlin senlin deleted the add/missing-alt-attributes branch November 3, 2018 13:57
mattyrob added a commit that referenced this pull request Nov 20, 2023
* Update template.php

Following PR #197, there is no longer any need for the accordion script. This PR therefore removes it from the JS folder in `wp-admin` and removes the function calling it from `template.php` in `wp-admin/includes`

* Remove jQuery accordion script from those registered in script-loader.php

* Update script-loader.php

Remove more references to the accordion script

* Reverting earlier commit because it targeted the wrong 'accordion' script

Confusingly, there are two accordion scripts in the CP admin: one is part of jQuery UI and should not be removed. This commit reverts its removal.

* Deatils and summary tags added to class-wp-customize-nav-menus.php

This replicates the changes made to the regular `nav menus` screen in that it adds the `details` and `summary` tags to the Add Menus section in the Customizer.

This change both improves accessibility and enables the `accordion` script to be removed.

* Update common.css

This deletes `display: none;` from the `.accordion-section-content` class and so enables the relevant sections to become visible when toggled using the `details` tag.

* Coding standards and docblock corrections

* Fix for failing unit test

* Delete src/wp-admin/js/accordion.js

Delete file as it is no longer used

---------

Co-authored-by: mattyrob <mattyrobuk@gmail.com>
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.

None yet

2 participants