-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Remove unused title attribute from saved-object-finder. #11548
Remove unused title attribute from saved-object-finder. #11548
Conversation
- Add aria-hidden to global nav icon.
c91abee
to
9650afe
Compare
jenkins, test this |
732aee8
to
4bafa03
Compare
4bafa03
to
0c1281c
Compare
0c1281c
to
a4cbcb0
Compare
@@ -28,6 +27,10 @@ | |||
</div> | |||
|
|||
<div class="list-group-item list-group-item--noBorder" ng-switch-when="search"> | |||
<saved-object-finder title="Choose a search" type="searches" use-local-management="true" on-choose="opts.addSearch"></saved-object-finder> | |||
<saved-object-finder | |||
type="searches" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the title
attribute isn't used, so I removed it.
<img | ||
ng-if="icon" | ||
class="global-nav-link__icon-image" | ||
kbn-src="{{ '/' + icon }}" | ||
alt="" | ||
aria-hidden |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This image means nothing to screen readers, so we hide it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…lastic#11548) * Ensure img elements have alt text where necessary (none do). - Add aria-hidden to global nav icon. * Remove unused title attribute from SavedObjectFinder.
…lastic#11548) * Ensure img elements have alt text where necessary (none do). - Add aria-hidden to global nav icon. * Remove unused title attribute from SavedObjectFinder.
Addresses #11520.