-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Add support for tooltips for metabox controls #12528
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
Closed
Closed
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
96e603b
Add support for tooltips for metabox controls
joedolson d877331
Update template.php
joedolson 1498835
Update text so accessible name matches visible name
joedolson 67a52d8
Merge remote-tracking branch 'upstream/trunk' into add-metabox-tooltips
joedolson 679511c
Add HTML API parsing of button markup.
joedolson 69bf5ff
Add styles to reduce highlighting of tooltips when on disabled buttons
joedolson 87bbb5d
Need to process all buttons
joedolson 1332e47
Using the HTML API changes the order of button attributes
joedolson a8214be
Merge branch 'trunk' into add-metabox-tooltips
joedolson 59d377a
Merge branch 'trunk' into add-metabox-tooltips
joedolson 235515b
Restore button handling
joedolson 9dbb894
Remove color shift on disabled buttons
joedolson d75ff00
Try: add role=region & aria-label to widget, simplify labels
joedolson 4b5bb12
Move default values to default args array
joedolson a31c87c
$id now undefined
joedolson 11955b5
Don't override hover/focus when disabled.
joedolson 7fd7bdb
Update template.php
joedolson 1cce6b1
Add aria-describedby referencing widget container ID.
joedolson 4bac23f
Remove popovertarget on tooltips
joedolson cb3f7a1
Further test updates
joedolson 63afc12
Add test to check that non-control HTML is ignored
joedolson b29541e
Potential fix for pull request finding
joedolson 10bd55f
Fix doc; better handling of icon and button default args
joedolson 0c8b172
Ensure aria-label does not contain HTML
joedolson c06fe8a
Merge branch 'add-metabox-tooltips' of https://github.com/joedolson/w…
joedolson a55493d
Fix disabled selector
joedolson a9046a4
Clarify test
joedolson a5bb234
Properly enforce usage of correct elements.
joedolson 50afc88
Add support for generating tooltips on links.
joedolson 4a0ce29
Update wpGetTooltip.php
joedolson 664ab87
Reset HTML processor, as the advanced pointer prevents the link from …
joedolson 7b96a15
Ensure default button HTML is used if no valid HTML passed.
joedolson 1f9d7f5
Move dashicon separator to template.
joedolson 0ab435a
Move wp-tooltip.css to a global admin style; move wp-tooltip to a pos…
joedolson 942e7e4
Improve docs for wp_get_toggletip() and pass default arg
joedolson 779549b
Set aria-describedby to h2 heading, instead of container.
joedolson 96a9289
Bah.
joedolson 556c3dc
Reflect `$button` argument in docsl
joedolson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.