palantir/blueprint

FR: InputGroup aria-label can be inferred from placeholder

オープン

#4,874 opened on 2021/08/24

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (2,167 件のフォーク)batch import
Domain: accessibilityP2Type: feature requesthelp wanted

Repository metrics

Stars
 (20,263 個のスター)
PR merge metrics
 (平均マージ 43d 10h) (30d で 27 merged PRs)

説明

Environment

  • Package version(s): core 3.48.0

Feature request

<InputGroup> could have better accessibility if it applied an aria-label to its <input>. If the placeholder prop exists, we should use that value. We'll need to consider how this interacts with <FormGroup> and wrapping <label> elements (we don't want to label the input twice).

コントリビューターガイド