We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 673d4e5 commit f569bcfCopy full SHA for f569bcf
1 file changed
VueApp/src/composables/use-route-focus.ts
@@ -9,7 +9,7 @@ import { nextTick } from "vue"
9
export function useRouteFocus(router: Router) {
10
router.afterEach(() => {
11
nextTick(() => {
12
- const main = document.querySelector("main") || document.querySelector("#app")
+ const main = document.querySelector("#main-content") || document.querySelector("main")
13
if (main instanceof HTMLElement) {
14
// Set tabindex temporarily so the element can receive focus
15
// without permanently joining the tab order
0 commit comments