Consider matching DOM order for Sky Nav elements when JS is disabled for better accessibility

未關閉
#1,994 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
javascript, scss

研究方向

先找到 Sky Nav 的實作,並在停用 JavaScript 的情況下檢視其 DOM 與視覺順序。將鍵盤 Tab 順序與提議的螢幕截圖進行比較,然後確認導覽順序在考量 logo 位置與漸層設計疑慮的情況下保持一致。

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

描述

⁉️ question 🎨 design 🦮 a11y

When JS is disabled:

  • the "Menu" button is hidden
  • the Sky Nav is open

Current implementation

The DOM order of the nav does not match the visual order in the current solution:

Current tab order count Current tab order in action
Screen Shot 2022-08-02 at 9 39 01 AM source-order-current

Proposed solution

We should consider allowing the visual order to match the DOM order when JS is disabled. We might even consider centering the Cloud Four logo since the button is not shown:

Proposes tab order count Proposed tab order in action
Screen Shot 2022-08-02 at 9 46 09 AM source-order-proposal

Other considerations

  • The gradient no longer matches the original design in the proposed solution

Related

主要語言
SCSS
星號
26
分支
4
平均合併
16 小時 7 分鐘
30 天內合併 PR
88

環境準備

從這裡開始

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

cloudfour/cloudfour.com-patterns 的其他 Issue

查看 cloudfour/cloudfour.com-patterns 的全部 Issue

相似的 Issue

更多 Accessibility Issue

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

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