Skip to content
Snippets Groups Projects
Commit 0af6cfff authored by Rahul Chanila's avatar Rahul Chanila :two:
Browse files

fix(GlDatepicker): format with prettier

parent 1ec26544
No related branches found
No related tags found
1 merge request!4632fix(GlDatepicker): Fix accessibility violations
......@@ -42,7 +42,7 @@ const highlightPastDates = (pikaday) => {
const addAccessibleLabels = (element) => {
// Pikaday sets `role="heading"`, which requires a corresponding
// `aria-level`. Ensure we have one.
const titleEl = element.querySelector('.pika-title[role="heading"]')
const titleEl = element.querySelector('.pika-title[role="heading"]');
if (titleEl) {
titleEl.setAttribute('aria-level', 3);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment