Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

MenuToggle - add aria-invalid and aria-autocomplete

未關閉
#11,806 7 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 4 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
68/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
react, typescript

研究方向

從 MenuToggle 元件及其範例和範本開始,重點關注 basic、split-button 和 typeahead 變體。更新相關的算繪元素,使 danger 狀態公開 aria-invalid,並使 typeahead 輸入公開 aria-autocomplete="list";當範例和元件行為反映這些屬性時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

A11y PF Team Stale

Describe the enhancement or change
Per https://github.com/patternfly/patternfly/issues/6562#issuecomment-2839684312:

  • MenuToggle should be updated to apply aria-invalid="true" when the status is danger for non-typeahead/plain toggles (basic toggles and split button toggles). If there are any typeahead examples showing status, those should be updated to apply the aria-invalid to the input element.

  • For typeahead variants, examples and templates should be updated so that aria-autocomplete="list" is applied to the text input being used as the typeahead input.

Is this request originating from a Red Hat product team? If so, which ones and is there any sort of deadline for this enhancement?

Any other information?


Jira Issue: PF-1732

主要語言
TypeScript
星號
862
分支
392
平均合併
3 天 19 小時
30 天內合併 PR
7

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

patternfly/patternfly-react 的其他 Issue

查看 patternfly/patternfly-react 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。