Skip to content
Permalink
Browse files
fix(b-form-datepicker): menu focus handling for Firefox and Safari on…
… MacOS (closes #4814) (#4824)

* fix(b-calendar): wrapper focus handling

* Move tabindex to menu
  • Loading branch information
jacobmllr95 committed Feb 25, 2020
1 parent 9dd6f53 commit 09fa920e4a904c6340c60586b40451dce94efc44
Showing 2 changed files with 2 additions and 2 deletions.
@@ -971,7 +971,6 @@ export const BCalendar = Vue.extend({
role: 'application',
tabindex: this.disabled ? null : '0',
'data-month': activeYMD.slice(0, -3), // `YYYY-MM`, mainly for testing
// tabindex: this.disabled ? null : '0',
'aria-roledescription': this.labelCalendar || null,
'aria-labelledby': idGridCaption,
'aria-describedby': idGridHelp,
@@ -233,7 +233,7 @@ export const BFormDatepicker = /*#__PURE__*/ Vue.extend({
// Context data from BCalendar
localLocale: null,
isRTL: false,
formatedValue: '',
formattedValue: '',
activeYMD: '',
// Flag to add focus ring to outer wrapper
hasFocus: false,
@@ -555,6 +555,7 @@ export const BFormDatepicker = /*#__PURE__*/ Vue.extend({
attrs: {
id: idMenu,
role: 'dialog',
tabindex: '-1',
'aria-modal': 'false',
'aria-labelledby': idLabel
},

0 comments on commit 09fa920

Please sign in to comment.