Skip to content

Accessibility: adding the ScrollItem pattern to ListBox items, fixing ListBox navigation by Narrator#1027

Merged
RussKie merged 2 commits intomasterfrom
dev/v-vlkres/ListBoxScrollItemPattern
Jun 27, 2019
Merged

Accessibility: adding the ScrollItem pattern to ListBox items, fixing ListBox navigation by Narrator#1027
RussKie merged 2 commits intomasterfrom
dev/v-vlkres/ListBoxScrollItemPattern

Conversation

@vladimir-krestov
Copy link
Contributor

@vladimir-krestov vladimir-krestov commented May 23, 2019

fixes #932 and related to #1026.
The pull request adds new changes and replaces pull request #935.

@codecov
Copy link

codecov bot commented May 23, 2019

Codecov Report

Merging #1027 into master will decrease coverage by 0.00161%.
The diff coverage is 8.45771%.

@@                Coverage Diff                 @@
##             master       #1027         +/-   ##
==================================================
- Coverage   32.1871%   32.18549%   -0.00162%     
==================================================
  Files          1097        1098          +1     
  Lines        297585      297951        +366     
  Branches      38375       38413         +38     
==================================================
+ Hits          95784       95897        +113     
- Misses       197609      197854        +245     
- Partials       4192        4200          +8
Flag Coverage Δ
#Debug 32.18549% <8.45771%> (-0.00162%) ⬇️
#production 20.50249% <5.72917%> (+0.01172%) ⬆️
#test 98.6684% <66.66667%> (-0.01295%) ⬇️

Copy link
Contributor

@Tanya-Solyanik Tanya-Solyanik left a comment

Choose a reason for hiding this comment

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

test looks good. I think my questions are mostly about @M-Lipin 's changes :)

@merriemcgaw merriemcgaw changed the title Accessibility: adding the ScrollItem pattern to ListBox items, fixing ListBox navigation by Narrator [WIP] Accessibility: adding the ScrollItem pattern to ListBox items, fixing ListBox navigation by Narrator May 29, 2019
/// <devdoc>
/// Returns true if this control has focus.
/// </devdoc>
public override bool Focused
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the main difference between overridden implementation and Control.Focused?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The implementation of this property does not make much sense. I removed it. Thanks.

Copy link
Contributor

@RussKie RussKie left a comment

Choose a reason for hiding this comment

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

IIUIC, 4daafe4 is a mix of functional changes and refactoring (methods moved).
This makes the diff destructive and impossible to see what functional changes in fact are...

I understand and fully support the idea of cleaning and making up the code, however it must be done as a separate commit.

{
return state |= AccessibleStates.Selected | AccessibleStates.Focused;
}
else
Copy link
Contributor

Choose a reason for hiding this comment

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

else is redundant

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, fixed.

@vladimir-krestov
Copy link
Contributor Author

@RussKie , thanks. I will fix it.

Copy link
Contributor

@RussKie RussKie left a comment

Choose a reason for hiding this comment

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

Review of a578a00 - minor styling issues

Copy link
Contributor

@RussKie RussKie left a comment

Choose a reason for hiding this comment

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

LGTM 👍
We'll need to tidy up the commits before the merge

Copy link
Contributor

@Tanya-Solyanik Tanya-Solyanik left a comment

Choose a reason for hiding this comment

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

Looks good, thank you! my comments are minor

@vladimir-krestov vladimir-krestov force-pushed the dev/v-vlkres/ListBoxScrollItemPattern branch from d00b389 to 979dc75 Compare June 25, 2019 14:49
@vladimir-krestov vladimir-krestov changed the title [WIP] Accessibility: adding the ScrollItem pattern to ListBox items, fixing ListBox navigation by Narrator Accessibility: adding the ScrollItem pattern to ListBox items, fixing ListBox navigation by Narrator Jun 25, 2019
Copy link
Contributor

@RussKie RussKie left a comment

Choose a reason for hiding this comment

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

👍
Few minor comments

@vladimir-krestov vladimir-krestov force-pushed the dev/v-vlkres/ListBoxScrollItemPattern branch from 979dc75 to b6202e0 Compare June 26, 2019 14:48
@merriemcgaw
Copy link
Member

@vladimir-krestov , how are we doing with this one?

@ghost ghost locked as resolved and limited conversation to collaborators Feb 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessibility: ListBox items don't support the ScrollItem pattern

6 participants