enhancementhelp wantedstale
仓库指标
- Star
- (13,136 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Modal should not let focus leave the components inside the dialog. Also it should autofocus the first component in the dialog (if no autofocus was specified).
More on Modals and keyboard traps: https://developers.google.com/web/fundamentals/accessibility/focus/using-tabindex
Steps
- Open any modal on the example page: https://react.semantic-ui.com/modules/modal
- Press tab multiple times
Expected Result
Focus should never enter the dimmed components below
Actual Result
Focus does enter the dimmed components below
Version
Current Tested in Chrome Version 61.0.3163.100 (Official Build) (64-bit)