We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The text was updated successfully, but these errors were encountered:
對於 screen reader,我的想像是可以用 aria-describedby,如下:
<table> <tr><th scope="col" id="id">短網址 ID</th><th scope="col">原始網址</th><th scope="col">管理操作</th></tr> <tr><th scope="row" id="a1b2">a1b2</th><td>https://pdis.nat.gov.tw</td><td><a href="#" aria-describedby="id a1b2">編輯</a> / <a href="#" aria-describedby="id a1b2">刪除</a></td></tr> <tr><th scope="row" id="c3d4">c3d4</th><td>https://test.pdis.run</td><td><a href="#" aria-describedby="id c3d4">編輯</a> / <a href="#" aria-describedby="id c3d4">刪除</a></td></tr> </table>
不過如果要顧慮到語音操控,也很難處理。我覺得使用者看到這一欄都是編輯跟刪除,會直接用「顯示號碼」的方式來操作吧,尤其當表格很寬、導致一個畫面內無法容納列標頭跟列末的操作功能時,很難知道要念什麼。
<caption>
aria-live="polite"
<table> <caption aria-live="polite">您建立的短網址<span id="filter"></span></caption> </table>
而篩選後變成:
<table> <caption aria-live="polite">您建立的短網址<span id="filter">(只顯示符合指定條件的項目)</span></caption> </table>
也就是只要讓使用者知道表格內容已經按照篩選條件更新,不是要把「表格更新後的內容」變成 live-region。
Sorry, something went wrong.
GovUK 只有 dl 有編輯刪除在 dd 內 https://design-system.service.gov.uk/components/summary-list/ table 沒有提供這樣的範例 https://design-system.service.gov.uk/components/table/
dl
dd
table
muan
No branches or pull requests
The text was updated successfully, but these errors were encountered: