Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Components: Provide modal focus scope and background accessibility isolation

未关闭
#4,379 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
18/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
react-native, typescript

调研方向

This is design work, so start by reading the durable boundaries the issue names: the native-core README and AGENTS files, and the modern Callout and FocusZone SPEC.md files. Confirm how FocusZone navigation differs from the modal contract the issue asks for. Done means the five acceptance items are covered: modal focus containment, background isolation with idempotent teardown, the listed focus and restoration tests, a recorded platform qualification matrix, and gated root admission. Coordinate with the maintainers on #4222, #4223 and #4236 before writing code.

由索引模型根据 Issue 内容生成。

描述

Goal

Establish the native modal foundation needed by Dialog #4222, Drawer #4223, and modal Popover policy in #4236. Part of #4274. Existing component-generation issues remain the delivery owners; this issue owns their shared native prerequisite.

Acceptance

  • Review host/window ownership, arbitrary-child focus containment, initial focus, Escape/close, nested modality, and safe restoration as a modal contract distinct from FocusZone navigation.
  • Implement actual background accessibility isolation and scrim/input containment with attachment/window/generation-scoped ownership and idempotent teardown.
  • Test forward/backward Tab, programmatic and assistive-technology focus escape, nested popup ownership, owner loss/unmount, close/reopen races, and restoring only when policy still permits it.
  • Qualify native keyboard and assistive-technology behavior across the declared macOS Paper/Fabric, Windows, and Win32 capability matrix; record refusals/unsupported paths explicitly.
  • Keep root/all-host admission gated by equivalent mandatory semantics; cycling a FocusZone or showing an anchored Callout is not modal qualification.

Evidence

Retired handoff: b55d6c9a3:packages/agentic/native-core/plans/modernization.md. Durable boundaries: native-core README/AGENTS and modern Callout/FocusZone SPEC.md files. Reuse proven host services without introducing a global view-tag registry or speculative cross-platform framework.

主要语言
TypeScript
星标
1.4k
派生
180
平均合并
2 天 23 分钟
30 天内合并 PR
33

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/fluentui-react-native 的其他 Issue

查看 microsoft/fluentui-react-native 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。