palantir/blueprint

FR: InputGroup aria-label can be inferred from placeholder

开放

#4,874 创建于 2021年8月24日

 (0 条评论) (0 个反应) (0 位负责人)TypeScript (2,167 个派生)batch import
Domain: accessibilityP2Type: feature requesthelp wanted

仓库指标

星标
 (20,263 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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).

贡献者指南