aloha-vue 1.2.278 → 1.2.279

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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@
7
7
  ---
8
8
  # Versions
9
9
 
10
+ ## 1.2.279
11
+
12
+ - Removed the `disabled` attribute from the `HTML` output of the `ASelect` component to improve accessibility.
13
+
10
14
  ## 1.2.278
11
15
 
12
16
  - Fixed the `disabled` state handling for elements with `type="link"` in the `AElement` component.
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "Vue.js"
15
15
  ],
16
16
  "homepage": "https://github.com/ilia-brykin/aloha/#README.md",
17
- "version": "1.2.278",
17
+ "version": "1.2.279",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -486,7 +486,6 @@ export default {
486
486
 
487
487
  const {
488
488
  ariaLabelledby,
489
- attributesDisabled,
490
489
  containerId,
491
490
  idForList,
492
491
  tabindex,
@@ -603,7 +602,6 @@ export default {
603
602
  return {
604
603
  ariaDescribedbyLocal,
605
604
  ariaLabelledby,
606
- attributesDisabled,
607
605
  attributesToExcludeFromRender,
608
606
  buttonRef,
609
607
  clearModel,
@@ -727,7 +725,6 @@ export default {
727
725
  onKeydown: this.handleKeydown,
728
726
  onFocus: this.onFocus,
729
727
  onBlur: this.onBlur,
730
- ...this.attributesDisabled,
731
728
  }, [
732
729
  this.$slots.fixedPlaceholder ?
733
730
  this.$slots.fixedPlaceholder({
@@ -24,17 +24,8 @@ export default function AttributesAPI(props, {
24
24
  return disabled.value ? undefined : 0;
25
25
  });
26
26
 
27
- const attributesDisabled = computed(() => {
28
- const ATTRIBUTES = {};
29
- if (disabled.value) {
30
- ATTRIBUTES.disabled = true;
31
- }
32
- return ATTRIBUTES;
33
- });
34
-
35
27
  return {
36
28
  ariaLabelledby,
37
- attributesDisabled,
38
29
  containerId,
39
30
  idForList,
40
31
  tabindex,