diff --git a/components/lib/calendar/BaseCalendar.vue b/components/lib/calendar/BaseCalendar.vue index f4d1ef971..52a6c9614 100644 --- a/components/lib/calendar/BaseCalendar.vue +++ b/components/lib/calendar/BaseCalendar.vue @@ -200,13 +200,13 @@ const classes = { weekLabelContainer: 'p-disabled', day: ({ date }) => [{ 'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today }], dayLabel: ({ instance, date }) => [{ 'p-highlight': instance.isSelected(date), 'p-disabled': !date.selectable }], - ariaSelectedDay: 'p-hidden-accessible', + hiddenSelectedDay: 'p-hidden-accessible', monthPicker: 'p-monthpicker', month: ({ instance, month, index }) => ['p-monthpicker-month', { 'p-highlight': instance.isMonthSelected(index), 'p-disabled': !month.selectable }], - ariaMonth: 'p-hidden-accessible', + hiddenMonth: 'p-hidden-accessible', yearPicker: 'p-yearpicker', year: ({ instance, year }) => ['p-yearpicker-year', { 'p-highlight': instance.isYearSelected(year.value), 'p-disabled': !year.selectable }], - ariaYear: 'p-hidden-accessible', + hiddenYear: 'p-hidden-accessible', timePicker: 'p-timepicker', hourPicker: 'p-hour-picker', incrementButton: 'p-link', diff --git a/components/lib/calendar/Calendar.d.ts b/components/lib/calendar/Calendar.d.ts index 8a2571172..8b44c4f2b 100755 --- a/components/lib/calendar/Calendar.d.ts +++ b/components/lib/calendar/Calendar.d.ts @@ -199,7 +199,7 @@ export interface CalendarPassThroughOptions { /** * Uses to pass attributes to the aria selected day's DOM element. */ - ariaSelectedDay?: CalendarPassThroughOptionType; + hiddenSelectedDay?: CalendarPassThroughOptionType; /** * Uses to pass attributes to the month picker's DOM element. */ @@ -211,7 +211,7 @@ export interface CalendarPassThroughOptions { /** * Uses to pass attributes to the aria month's DOM element. */ - ariaMonth?: CalendarPassThroughOptionType; + hiddenMonth?: CalendarPassThroughOptionType; /** * Uses to pass attributes to the year picker's DOM element. */ @@ -223,7 +223,7 @@ export interface CalendarPassThroughOptions { /** * Uses to pass attributes to the aria year's DOM element. */ - ariaYear?: CalendarPassThroughOptionType; + hiddenYear?: CalendarPassThroughOptionType; /** * Uses to pass attributes to the time picker's DOM element. */ diff --git a/components/lib/calendar/Calendar.vue b/components/lib/calendar/Calendar.vue index 03ccf56d6..b1038009b 100755 --- a/components/lib/calendar/Calendar.vue +++ b/components/lib/calendar/Calendar.vue @@ -165,7 +165,7 @@ > {{ date.day }} -
+
{{ date.day }}
@@ -188,7 +188,7 @@ :data-p-highlight="isMonthSelected(i)" > {{ m.value }} -
+
{{ m.value }}
@@ -206,7 +206,7 @@ :data-p-highlight="isYearSelected(y.value)" > {{ y.value }} -
+
{{ y.value }}
diff --git a/components/lib/cascadeselect/BaseCascadeSelect.vue b/components/lib/cascadeselect/BaseCascadeSelect.vue index a07e40bd3..688b8bed2 100644 --- a/components/lib/cascadeselect/BaseCascadeSelect.vue +++ b/components/lib/cascadeselect/BaseCascadeSelect.vue @@ -111,7 +111,7 @@ const classes = { dropdownButton: 'p-cascadeselect-trigger', loadingIcon: 'p-cascadeselect-trigger-icon', dropdownIcon: 'p-cascadeselect-trigger-icon', - searchResultAria: 'p-hidden-accessible', + hiddenSearchResult: 'p-hidden-accessible', panel: ({ instance }) => [ 'p-cascadeselect-panel p-component', { diff --git a/components/lib/cascadeselect/CascadeSelect.d.ts b/components/lib/cascadeselect/CascadeSelect.d.ts index d38f9dd09..0a7bcdab2 100644 --- a/components/lib/cascadeselect/CascadeSelect.d.ts +++ b/components/lib/cascadeselect/CascadeSelect.d.ts @@ -101,7 +101,7 @@ export interface CascadeSelectPassThroughOptions { /** * Uses to pass attributes to the search result message text aria's DOM element. */ - searchResultAria?: CascadeSelectPassThroughOptionType; + hiddenSearchResult?: CascadeSelectPassThroughOptionType; /** * Uses to pass attributes to the selected message text aria's DOM element. */ diff --git a/components/lib/cascadeselect/CascadeSelect.vue b/components/lib/cascadeselect/CascadeSelect.vue index 20962db08..5afbc7967 100644 --- a/components/lib/cascadeselect/CascadeSelect.vue +++ b/components/lib/cascadeselect/CascadeSelect.vue @@ -38,7 +38,7 @@
- + {{ searchResultMessageText }}