Skip to content

Commit

Permalink
auth updated focus element
Browse files Browse the repository at this point in the history
  • Loading branch information
KostiantynFandeliuk committed Dec 3, 2024
1 parent cd4ec85 commit 487d2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/header/renderAuthDropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function renderAuthDropdown(navTools) {
authDropDownPanel.setAttribute("aria-hidden", "false");
authDropDownPanel.setAttribute("aria-labelledby", "modal-title");
authDropDownPanel.setAttribute("aria-describedby", "modal-description");
authDropDownPanel.querySelector('input[name="email"]').focus();
authDropDownPanel.focus();
}

loginButton.addEventListener("click", () => toggleDropDownAuthMenu());
Expand Down

0 comments on commit 487d2c4

Please sign in to comment.