SAP Spartacus的SkipLink功能
官網(wǎng)地址:https://sap.github.io/spartacus-docs/skip-links/#default-skip-link-configuration
Skip links allow users to quickly navigate to important areas of a page using the keyboard.
Skip Links允許用戶使用鍵盤快速跳轉(zhuǎn)到頁面的重要區(qū)域。
You activate skip links by pressing the tab key when a page is loaded, and before any other user interaction takes place.
當(dāng)頁面加載時(shí),按住tab鍵,激活Skip link.
When a user presses the tab key, a button appears at the top of the page, with the label “Skip to section”. Each time the user presses the tab key, the text updates to indicate the next available section to skip to. The user can then select a section to skip to by pressing the return key. When all sections have been skipped through, pressing the tab key again closes the skip link button. Users can navigate forward and backward through the available skip links by using the tab key and shift+tab key combination, respectively.
默認(rèn)的配置:
最后渲染出來的結(jié)果:
更多Jerry的原創(chuàng)文章,盡在:“汪子熙”:
總結(jié)
以上是生活随笔為你收集整理的SAP Spartacus的SkipLink功能的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 马斯克给苹果支招:在推特上发点东西,会有
- 下一篇: 老猿学5G扫盲贴:中国移动网络侧CHF的