fix(react): DetailsList aria-rowindex off-by-one fix#17423
Merged
smhigley merged 3 commits intomicrosoft:masterfrom Mar 19, 2021
Merged
fix(react): DetailsList aria-rowindex off-by-one fix#17423smhigley merged 3 commits intomicrosoft:masterfrom
smhigley merged 3 commits intomicrosoft:masterfrom
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 490ff1c:
|
cschlechty
approved these changes
Mar 15, 2021
Asset size changes
Baseline commit: c49525b95c315995c323e2b7efe50c637ceb539e (build) |
d3a63c7 to
490ff1c
Compare
Collaborator
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
ThomasMichon
approved these changes
Mar 18, 2021
Collaborator
|
🎉 Handy links: |
joshualamusga1
pushed a commit
to joshualamusga1/fluentui
that referenced
this pull request
Mar 25, 2021
* Add DetailsRow flatIndexOffset property to handle tracking ARIA rowindex separately from the functional data index
miroslavstastny
pushed a commit
to miroslavstastny/fluentui
that referenced
this pull request
May 5, 2021
* Add DetailsRow flatIndexOffset property to handle tracking ARIA rowindex separately from the functional data index
3 tasks
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request checklist
$ yarn changeDescription of changes
JAWS skips the first row of a DetailsList with visible headers, since the
aria-rowindexproperty incorrectly starts at 1 within the table body, instead of at 2 when column headers are visible.This PR adds a
flatIndexOffsetproperty on DetailsRow, so DetailsList can control the relation betweenitemIndexandaria-rowindexbased on whether headers are visible.