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

a11y: fix project tree roles and aria #9093

Merged
merged 2 commits into from
Apr 4, 2022

Conversation

OEvgeny
Copy link
Collaborator

@OEvgeny OEvgeny commented Apr 1, 2022

Description

This improves aria for the Project Tree control.

Includes the following changes:

  • Remove redundant aria-label causing two elements in the chain to have the same name
  • Remove redundant tabIndex and move keyboard handler to the place where the keyboard event happens
  • Make aria-labels to follow the rule: visible content goes first in the label

Task Item

Screenshots

image
image

#minor

This improves aria for the Project Tree control.

Includes the following changes:
- Remove redundant aria-label causing two elements in the chain to have the same name
- Remove redundant tabIndex and move keyboard handler to the place where the keyboard event happens
- Make aria-labels to follow the rule: visible content goes first in the label
@coveralls
Copy link

coveralls commented Apr 1, 2022

Coverage Status

Coverage remained the same at 55.883% when pulling 7daff04 on OEvgeny:a11y/project-tree-2 into 6770046 on microsoft:main.

@tonyanziano tonyanziano merged commit 4526b6d into microsoft:main Apr 4, 2022
@OEvgeny OEvgeny deleted the a11y/project-tree-2 branch April 4, 2022 20:58
tonyanziano pushed a commit that referenced this pull request May 12, 2022
* a11y: ensure there is only one main landmark (#9074)

* a11y: ensure there is only one main landmark

Remove redundant main landmarks and add the landmark for pages where it is not defined

Contains the following changes:
- Removed MainContent component as it's not beeing used anywhere
- Remove main role duplication from Disigner pages
- Add main role to plugin pages
- (Unrelated improvement) Link Language modal search field label with the search field

* Fix lint issues

* a11y: Add aria-required attribute to Form Editor required fields (#9079)

* a11y: Add aria-required attribute to FormEditor required fields

These fields are visually indicated as required. so add `aria-required` attribute for screenreaders.

* Address review comments

* a11y: fix aria-label content (#9092)

Aria label should start from visible content. This PR fixes the occurrence pointed out in the linked bug.

* a11y: fix project tre roles and aria (#9093)

This improves aria for the Project Tree control.

Includes the following changes:
- Remove redundant aria-label causing two elements in the chain to have the same name
- Remove redundant tabIndex and move keyboard handler to the place where the keyboard event happens
- Make aria-labels to follow the rule: visible content goes first in the label

* a11y: add support for intellisense (#9091)

* a11y: add support for intellisense

The PR adds accessibility properties for the intellisense component, wires them with input components and fixes some observations.

List of changes:
- Added `aria` attributes set into `Intellisense` component, so it to be passed down to any input rendered
- Updated fields. where it makes sense. to include a11y parameters passed by Intellisense
- Added scrollIntoView for CompletionElement to ensure the selected element is in the view
- Refactored CompletionList a11y properties. Now list has a listbox role when showing suggestions

* Fix tests

* Fix indent

* Fix nit

* a11y: address accessibility insights issues (#9148)

* a11y: improve debug header aria

* Add aria attributes
* Exclude empty button from keyboard navigation

* a11y: enforce HelpTooltip aria

* Make HelpTooltip `aria-label` property required
* Remove `aria-hidden` attribute from the help tooltip icon
* Add missing aria-labels and roles
* Allow focusing tooltips inside menu items
* Rework types

* a11y: add aria for knowledge base buttons

* Add `aria-label` for icon-only buttons

* a11y: improve publish screen aria

* Add aria for controls
* Add column names

* a11y: split button aria

* Add accessible split button component
* Refactor Library split button

* a11y: package manager aria

* add missing aria labels for controls

* Revert "a11y: split button aria"

This reverts commit da7e713.

* a11y: split button aria

* Add accessible split button component
* Refactor Library split button
* Refactor Chat header split button

* a11y: debug panel aria improvements

* Add label for bot picker

* a11y: upgrade webchat

* Upgrade WebChat to the latest version as it fixes some accessibility issues

* Revert "a11y: upgrade webchat"

This reverts commit 9762cf0.

* a11y: improve get started panel aria

* Add close button label

* fix lint

* chore: update electron to currently supported version

* Trigger build

* Use Electron v14.2.6

* Trigger build

* Fix mac signing process

* Implement custom electron build fetching

* Revert "chore: update electron (#9056)"

This reverts commit 226b4df.

* fix path
@cwhitten cwhitten mentioned this pull request Aug 15, 2023
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.

3 participants