-
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
Variety of quick a11y fixes #46569
Variety of quick a11y fixes #46569
Conversation
💔 Build Failed |
ab7ca26
to
4dac86d
Compare
💔 Build Failed |
4dac86d
to
683f2d1
Compare
💔 Build Failed |
683f2d1
to
6552d55
Compare
Hi @myasonik ! |
x-pack/test/functional/apps/machine_learning/create_population_job.ts
Outdated
Show resolved
Hide resolved
@sulemanof Previously I suggested using an Now, I've gone and added a proper |
6552d55
to
a0ac23a
Compare
💚 Build Succeeded |
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
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.
Overall looks really good, got a couple of minor code style comments.
src/legacy/core_plugins/data/public/query/query_bar/components/query_bar_input.tsx
Outdated
Show resolved
Hide resolved
...y/core_plugins/embeddable_api/public/np_ready/public/lib/panel/panel_header/panel_header.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/kibana/public/discover/components/field_chooser/field_chooser.html
Show resolved
Hide resolved
..._plugins/embeddable_api/public/np_ready/public/lib/panel/panel_header/panel_options_menu.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/data/public/query/query_bar/components/query_bar_input.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/data/public/query/query_bar/components/query_bar_input.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/data/public/query/query_bar/components/query_bar_input.tsx
Outdated
Show resolved
Hide resolved
aria-label={this.props.intl.formatMessage( | ||
{ | ||
id: 'data.query.queryBar.searchInputAriaLabel', | ||
defaultMessage: 'Start typing to search and filter the {pageType} page', |
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.
If you change the default message of a string, you should remove all existing translations for this string, so it will be retranslated by our translators again. Just search for that id and remove it from all internationalization files.
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 all of them were already removed... Am I missing anything?
src/legacy/core_plugins/data/public/query/query_bar/components/query_bar_input.tsx
Outdated
Show resolved
Hide resolved
src/legacy/core_plugins/data/public/query/query_bar/components/query_bar_input.tsx
Outdated
Show resolved
Hide resolved
a0ac23a
to
00107fe
Compare
💔 Build Failed |
00107fe
to
91f1e92
Compare
💚 Build Succeeded |
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.
Code LGTM, looked at a couple of changes and checked it didn't break styling.
src/legacy/core_plugins/data/public/query/query_bar/components/query_bar_input.tsx
Outdated
Show resolved
Hide resolved
💚 Build Succeeded |
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
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.
Platform changes LGTM
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.
Change in Discover LGTM 👍
💔 Build Failed |
💚 Build Succeeded |
…ysens/kibana into console-fix-menu-actions-alignment * 'console-fix-menu-actions-alignment' of github.com:jloleysens/kibana: (59 commits) [Canvas] i18n for page manager, page preview, and shape preview (elastic#46865) [SIEM] hide siem data on empty string or _all (elastic#47166) [Uptime] Shim UI exports for new platform (elastic#44722) [Monitoring] Metricbeat Migration Wizard Tests (elastic#47139) [Logs UI] Support partitioned log rate results in API (elastic#46751) [APM] Remove beta badge from transaction breakdown (elastic#47163) test: 💍 convert Interpreter font function tests to Jest (elastic#47193) visualizations 👉 NP-ready (elastic#47142) [Uptime] Update pings chart colors (elastic#46780) Add scroll into view to avoid tooltip overlap (elastic#47106) Variety of quick a11y fixes (elastic#46569) [Graph] Empty workspace overlay (elastic#45547) [ML] Converts index and saved search selection to React (elastic#47117) [Uptime] Change default status filter in ping list to all on monitor page (elastic#47108) refactor: 💡 convert Interpreter .js -> .ts (elastic#44545) Add TypeScript rules to STYLEGUIDE [skip ci] (elastic#47125) chore(NA): fix logic behind cleaning x-pack node modules on build (elastic#47091) [SIEM] Update Settings Text (elastic#47147) Add KQL functionality in the find function of the saved objects (elastic#41136) [Maps] Add 'InjectedData' class and revise so File Upload Features are assigned to new InjectedData instances (elastic#46381) ...
(## Summary
A slew of accessibility fixes for a wide range of issues, mostly around document structure. Focusing on things that are easily detectable by automated tools (which we keep getting flagged for in audits) and things that are easy to fix.
Not all solutions are perfect but they're improvements on what we have today.
Addresses some pages of #37539 (Home, Discover, Dashboard, Visualize). Probably more can be done but this is a good start.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.- [ ] This was checked for cross-browser compatibility, including a check against IE11- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support- [ ] Documentation was added for features that require explanation or tutorials- [ ] Unit or functional tests were updated or added to match the most common scenariosFor maintainers