microsoft / microsoft/tabster

Shadow DOM: implement `TreeWalker` that can walk shadow roots

Open
#338 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
165
Forks
42
Avg merge
1d 11h
Merged PRs (30d)
9

Description

TreeWalker does not walk into shadow roots. The link below implements a "ShadowDomTreeWalker" to handle this behavior.

This is implemented

We need to validate it with tests and decide how to best integrate it into Tabster.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the proposed implementation in src/pierce-dom/ShadowDomTreeWalker on the linked shadow-dom branch. Validate its TreeWalker behavior with tests, then determine how it should be integrated into Tabster; done means the behavior is covered by tests and the integration approach is agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.