@ministryofjustice/hmpps-connect-dps-shared-items 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -147,7 +147,6 @@ export class AutosuggestUi {
|
|
|
147
147
|
this.blurring = false
|
|
148
148
|
|
|
149
149
|
this.context.classList.remove(`${this.stylingBaseClass}${classSuffixHasResults}`)
|
|
150
|
-
this.input.removeAttribute('aria-activedescendant')
|
|
151
150
|
this.input.setAttribute('aria-expanded', false)
|
|
152
151
|
this.setAriaStatus()
|
|
153
152
|
}, 300)
|
|
@@ -156,7 +155,6 @@ export class AutosuggestUi {
|
|
|
156
155
|
handleFocus() {
|
|
157
156
|
if (this.listbox.innerHTML) {
|
|
158
157
|
this.context.classList.add(`${this.stylingBaseClass}${classSuffixHasResults}`)
|
|
159
|
-
this.input.addAttribute('aria-activedescendant')
|
|
160
158
|
this.input.setAttribute('aria-expanded', true)
|
|
161
159
|
this.setAriaStatus()
|
|
162
160
|
}
|
package/package.json
CHANGED