Skip to content

Fixes for accessibility tickets - #821

Merged
snide merged 17 commits into
elastic:masterfrom
snide:accessibility/small
May 14, 2018
Merged

snide merged 17 commits into
elastic:masterfrom
snide:accessibility/small

Conversation

@snide

@snide snide commented May 11, 2018 •

Copy link
Copy Markdown
Contributor

Fixes #733
Fixes #734
Fixes #735
Fixes #621
Fixes #736
Fixes #728
Fixes #729
Fixes #723
Fixes #616
Fixes #687
Fixes #617
Fixes #746

Grab bag of accessibility fixes. The following changes were made.

  • Fixed a bug in our documentation where sidenav submenus had empty buttons if we were excluding the title (which we usually do for the first one in the page).
  • Made EuiPagination more friendly for screen readers.
  • Made EuiSideNav use menubar labeling. Of all the options (nav / tree...etc) it was the most agreeable with our current formatting.
  • Fixed an issue with EuiPopover where ownFocs was required if it didn't wrap a context menu. Made EuiPopover use an aria-live label to announce its contents if it isn't set (with the assumption that if it is, the SR will read what it focused).
  • EuiBottomBar now has some hidden SR text to announce itself.
  • EuiBasicTable now labels its checkboxes properly.
  • Various aria labeling fixes for our own documentation, mostly around button labeling.


renderSubSections = (subSections = []) => {
if (subSections.length <= 1) {
console.log(subSections);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

remove console.log

Comment thread src/components/bottom_bar/bottom_bar.js Outdated
}
}

handleScreenReaderFocus() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Where/how is this used?

@snide

snide commented May 11, 2018

Copy link
Copy Markdown
Contributor Author

@chandlerprall sorry, still working on this one. should have attached WIP status to it.

@snide

snide commented May 11, 2018

Copy link
Copy Markdown
Contributor Author

OK. I'm done on this one for the day. I think the EuiPopover stuff is the only thing that could use a looksie on @chandlerprall.

@chandlerprall chandlerprall left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@snide
snide merged commit a153c7a into elastic:master May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

2 participants