@openeuropa/bcl-progress 0.14.0 → 0.18.0

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@openeuropa/bcl-progress",
3
3
  "author": "European Commission",
4
4
  "license": "EUPL-1.2",
5
- "version": "0.14.0",
5
+ "version": "0.18.0",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
@@ -21,5 +21,5 @@
21
21
  "design-system",
22
22
  "twig"
23
23
  ],
24
- "gitHead": "b91fc0b466f8a604eda1cfd519f3be4cbbc75324"
24
+ "gitHead": "a82834df6dff563a956a79bf2899c92742dd5820"
25
25
  }
@@ -32,6 +32,10 @@
32
32
  {% set _classes = _classes ~ ' bg-' ~ _variant %}
33
33
  {% endif %}
34
34
 
35
+ {% if attributes is empty %}
36
+ {% set attributes = create_attribute() %}
37
+ {% endif %}
38
+
35
39
  {% set attributes = attributes.addClass(['progress']) %}
36
40
 
37
41
  {% if _bar_label is empty %}
@@ -49,6 +53,7 @@
49
53
  role="progressbar"
50
54
  style="width: {{ _progress }}%"
51
55
  aria-valuenow="{{ _progress }}"
56
+ aria-label="{{ _progress }}"
52
57
  aria-valuemin="{{ _min }}"
53
58
  aria-valuemax="{{ _max }}"
54
59
  >