@1024pix/pix-ui 14.1.1 → 14.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Pix-UI Changelog
2
2
 
3
+ ## v14.2.0 (06/05/2022)
4
+
5
+
6
+ ### :coffee: Autre
7
+ - [#216](https://github.com/1024pix/pix-ui/pull/216) A11Y: add role=img on the stars container + add aria-label
8
+
3
9
  ## v14.1.1 (15/04/2022)
4
10
 
5
11
 
@@ -1,7 +1,6 @@
1
- <div class={{this.pixStarsClass}} ...attributes>
2
- <span class="sr-only">{{@alt}}</span>
1
+ <div class={{this.pixStarsClass}} ...attributes role="img" aria-label={{@alt}}>
3
2
  {{#each this.stars as |star|}}
4
- <svg class="pix-stars__{{star}}" data-test-status={{star}} viewBox="0 0 36 36">
3
+ <svg class="pix-stars__{{star}}" data-test-status={{star}} viewBox="0 0 36 36" role="img">
5
4
  <defs>
6
5
  <linearGradient id="pix-stars-default" x1="68.643%" y1="0%" x2="68.643%" y2="100%">
7
6
  <stop stop-color="#FEDC41" offset="0%"></stop>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "14.1.1",
3
+ "version": "14.2.0",
4
4
  "description": "Pix-UI is the implementation of Pix design principles and guidelines for its products.",
5
5
  "keywords": [
6
6
  "ember-addon"