SAP Spartacus的SkipLink功能
官網地址: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允許用戶使用鍵盤快速跳轉到頁面的重要區域。
You activate skip links by pressing the tab key when a page is loaded, and before any other user interaction takes place.
當頁面加載時,按住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.
默認的配置:
最后渲染出來的結果:
更多Jerry的原創文章,盡在:“汪子熙”:
總結
以上是生活随笔為你收集整理的SAP Spartacus的SkipLink功能的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 马斯克给苹果支招:在推特上发点东西,会有
- 下一篇: 如何在Component templat