-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
大型連結樣式 #13
Comments
提議用中性(?)一點的命名,例如 call-for-action link |
@JediLin 我和 ARIA 的朋友聊了一下,看了 GDS 的討論,我有點意外沒有人提議直接使用 我看不出來這和 我朋友提到或許這會把 AT 放到 "form mode",我不太知道這可能造成什麼 side effects。你有什麼想法嗎? 荷蘭設計系統朋友也在考慮用 form get 的作法,而非把連結 style 成 buttons。 |
form mode 會改變各種按鍵的作用,例如使用 NVDA 把鍵盤焦點移動到 當處於 form mode 時:
如果使用者對於 form mode 不熟悉,可能會覺得操作沒反應又被困住。我想妳朋友的意思是這樣 ^^; |
了解。那當然「想出大型連結卻不像 button 的視覺樣式」是最佳解法。 但如果無法,你認為這樣以下兩個處理方式是你的偏好?(可能會需要在元件頁面上解釋這個 necessary evil)
|
好難選~ 我應該會選 另外,不論是哪一種做法,畢竟都是在做按鈕了,實際身心障礙者使用者對於初次使用網頁的時候可能會以「快速列出本頁中所有連結」的方式操作,在心中建立對整個網頁可以通往哪些地方的概觀,而不會想到還需要「快速列出本頁中所有按鈕」才能涵蓋所有連結,這種操作反而會漏掉這些 call-for-action link,這個缺點也可以解釋在元件頁面上。(把同一個連結目的做成可取得鍵盤輸入焦點的連結跟按鈕,增加 tab 停留位置數量,也有著明顯缺點哪) |
但不是兩個做法都會有這個問題嗎?
我不太懂這個意思? |
這個我們有確定 |
對,就是妳提到的:
例如 |
我用 Windows + Firefox + NVDA 測的時候,輔助科技(符合預期地)會根據 role 來判斷,所以 |
GDS 有提供 button-like 連結樣式。實際審查時看來有此元件需求,但應在仍保留能夠和按鈕區別的視覺暗示。
參考 alphagov/govuk_elements#272 。
The text was updated successfully, but these errors were encountered: