@descope/web-components-ui 1.0.422 → 1.0.424

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/dist/index.esm.js CHANGED
@@ -6679,7 +6679,14 @@ const componentName$O = getComponentName$1('passcode-internal');
6679
6679
 
6680
6680
  const observedAttributes$5 = ['digits', 'loading'];
6681
6681
 
6682
- const forwardAttributes = ['disabled', 'bordered', 'size', 'invalid', 'readonly'];
6682
+ const forwardAttributes = [
6683
+ 'disabled',
6684
+ 'bordered',
6685
+ 'size',
6686
+ 'invalid',
6687
+ 'readonly',
6688
+ 'aria-labelledby',
6689
+ ];
6683
6690
 
6684
6691
  const BaseInputClass$7 = createBaseInputClass({ componentName: componentName$O, baseSelector: 'div' });
6685
6692
 
@@ -6872,6 +6879,7 @@ class PasscodeInternal extends BaseInputClass$7 {
6872
6879
  };
6873
6880
 
6874
6881
  forwardAttrs$1(this, input, { includeAttrs: forwardAttributes });
6882
+ input.shadowRoot.querySelector('input').setAttribute('aria-label', 'passcode digit');
6875
6883
  });
6876
6884
 
6877
6885
  this.handleFocusEventsDispatching(this.inputs);
@@ -6923,6 +6931,7 @@ const customMixin$a = (superclass) =>
6923
6931
  name="code"
6924
6932
  tabindex="-1"
6925
6933
  slot="input"
6934
+ role="textbox"
6926
6935
  ><slot></slot></${componentName$O}>
6927
6936
  `;
6928
6937
 
@@ -10976,8 +10985,8 @@ class RawUploadFile extends BaseInputClass$3 {
10976
10985
  </div>
10977
10986
  <div class="description"></div>
10978
10987
  <div class="button-wrapper">
10979
- <input type="file" tabindex="-1" />
10980
- <descope-button></descope-button>
10988
+ <input type="file" tabindex="-1" aria-labelledby="button"/>
10989
+ <descope-button id="button"></descope-button>
10981
10990
  </div>
10982
10991
  </div>
10983
10992
  `;