Comments (4)
Thanks @lmounsey for your suggestion! We are using https://github.com/simplesmiler/vue-focus
in Ripple, that means we have the focus
directive in use already.
For focusing on h1
when a page load, unfortunately it is not how we are doing at SDP site. Keyboard nav is only on link, button and clickable elements, however our h1
is not a link. Our keyboard nav order is from top to bottom, with the first item is skip to main content
option which can jump to the page main content directly.
Any reason your project need go to h1
?
from ripple.
Hi @tim-yao
Just to clear up, it should not focus on h1
on first page load - sorry if my code is a bit misleading, it could possibly be cleaned up with detecting process.client
instead.
I feel though it should move focus when navigating between pages in nuxt - for example, if I use VoiceOver on https://www.vic.gov.au and click a footer link, the focus still stays in the footer.
Let me know if you want to chat more to talk through some possible solutions
from ripple.
@lmounsey Yes, the footer link case make sense to me. I will raise an issue to UX/BA for discovering this requirement. It may take some time. If it's urgent in your project, please use SDP support portal to ask for support. Thanks!
from ripple.
This will be look at in https://digital-engagement.atlassian.net/browse/SDPA-3251
from ripple.
Related Issues (20)
- Add error handling for invalid elasticsearch config in tide-search-api module
- test
- test 2
- test automate
- Example application `vue-example-app` does not work out of the box. HOT 2
- Packages appear to have untranspiled optional chaining ('?.') operator. HOT 2
- SassError: $string: #457b9d is not a string. HOT 2
- Allow overriding the vic-go-au logo HOT 2
- Ripple Form does not pass selectedCharLength to rpl-select component
- main menu with hundreds of menu items and very deep hierarchy behaves unexpectedly
- Back to top button not working, id changed HOT 1
- Add ability to disable hardcoded pages through feature flag
- Node 13 has deprecated the use of request.connection
- Spelling Fix - Field Rpl Slider (has PR) HOT 2
- getBaseUrl incorrectly setting the request protocol
- Pagination next button, when disabled, still shows an interactive cursor pointer.
- Accessibility: RplSelect, when no value is set will read the plceholder twice
- Date field calendar popup z-index issue
- Anchor links with no href should be ignored by markup plugin
- Server-side rendering on content collection is pointed to the URL that is not reachable by the server.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ripple.