小心!您在VUE 2兼容分支中,檢查“下一個”分支以獲取VUE 3支持。
想像一下,瀏覽頁面(路由),接收警報和通知,頁面上有一個倒計時計時器,進度條,加載或水療中心的路由更改。現在想像所有這些都發生在視覺殘疾並使用屏幕讀者的人身上。
@vue-a11y/播音員(V2)提供了一種簡單的方法,可以真正告訴使用屏幕讀取器的人應用程序中發生了什麼。
對於Vue-Announcer版本1。*您可以訪問此鏈接
受社區中其他人的啟發,例如:
git clone https://github.com/vue-a11y/vue-announcer.git vue-announcer
# Run plugin
cd vue-announcer
npm install
npm run dev
# Run example
cd examples
npm install
npm run dev
cd ..
# Run Cypress testing
npm run test
或在交互模式下運行柏樹
npm run test:open
這是已經安裝和配置的簡單WebPack模板。命令之後,只需訪問http:// localhost:8080/
在Twitter @vue_a11y上關注我們
謝謝