Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

fix(gridBehavior): changing the focus zone to embed #844

Merged
merged 4 commits into from
Feb 11, 2019

Conversation

kolaps33
Copy link
Collaborator

@kolaps33 kolaps33 commented Feb 5, 2019

We recognized that additional 'div' wrapper from focus zone was Firefox presented in accessibility DOM as focusable section.
Then for example NVDA navigated to the section and was narrating whole content of the 'div'.
Therefore changing the focus sone to 'embed'

@codecov
Copy link

codecov bot commented Feb 8, 2019

Codecov Report

Merging #844 into master will decrease coverage by 0.54%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #844      +/-   ##
==========================================
- Coverage   93.54%   92.99%   -0.55%     
==========================================
  Files          21       21              
  Lines         728      728              
  Branches       73       73              
==========================================
- Hits          681      677       -4     
- Misses         47       51       +4
Impacted Files Coverage Δ
...ages/react/test/specs/behaviors/testDefinitions.ts 95.3% <0%> (-1.88%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7acf24c...05344d2. Read the comment docs.

Copy link
Member

@layershifter layershifter left a comment

Choose a reason for hiding this comment

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

Please a changelog entry 📝

@@ -29,6 +29,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

### Fixes
- Focus the last focused element which triggered `Popup` on ESC @sophieH29 ([#861](https://github.com/stardust-ui/react/pull/861))
- Changing the focus zone to embed for gridBehavior @kolaps33 ([#844] (https://github.com/stardust-ui/react/pull/844))
Copy link
Contributor

Choose a reason for hiding this comment

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

A small improvement
Changing the FocusZone's mode to Embed in gridBehavior

@kolaps33 kolaps33 merged commit 4b28f23 into master Feb 11, 2019
@layershifter layershifter deleted the mituron/grid-behavior-embed-fz branch February 11, 2019 10:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants