Skip to content

Conversation

@zorkow
Copy link
Member

@zorkow zorkow commented Feb 8, 2024

The PR

  • adds depth message output to the explorer
  • generalises the handling of InPlace moves

InPlace moves are those, that generate a different speech output without actually walking in the DOM, like summary or depth. They need to be copied into the aria-label, the node needs to be refocused to alert a screen reader and they need to be cleaned up on the next move (ie., the original speech needs to be copied back into the aria-label).

This needs some changes in SRE that I still need to push.

@zorkow zorkow requested a review from dpvc February 8, 2024 11:51
Copy link
Member

@dpvc dpvc left a comment

Choose a reason for hiding this comment

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

This looks fine, other than question about key to use for depth.

['<', this.nextStyle.bind(this)],
['x', this.summary.bind(this)],
['-', this.expand.bind(this)],
['d', this.depth.bind(this)],
Copy link
Member

Choose a reason for hiding this comment

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

I'm wondering if this should be a symbol rather than a letter, like = or #, instead of a letter that ties to a word in a particular language.

Copy link
Member Author

Choose a reason for hiding this comment

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

The problem with these symbols is that on many keyboard layouts they are only reachable via shift.
I will merge for now and then change it in the next PR.

Base automatically changed from refactor/explorer_expansion to develop February 9, 2024 08:27
@zorkow zorkow merged commit 67c2871 into develop Feb 9, 2024
@zorkow zorkow deleted the refactor/explorer_depth branch February 9, 2024 08:28
@dpvc dpvc added this to the v4.0 milestone Apr 17, 2024
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