@aurodesignsystem-dev/auro-formkit 0.0.0-pr1451.14 → 0.0.0-pr1451.15

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.
Files changed (61) hide show
  1. package/components/checkbox/demo/api.min.js +1 -1
  2. package/components/checkbox/demo/index.min.js +1 -1
  3. package/components/checkbox/dist/index.js +1 -1
  4. package/components/checkbox/dist/registered.js +1 -1
  5. package/components/combobox/demo/api.min.js +3 -3
  6. package/components/combobox/demo/customize.md +2 -2
  7. package/components/combobox/demo/customize.min.js +3 -3
  8. package/components/combobox/demo/getting-started.min.js +3 -3
  9. package/components/combobox/demo/index.min.js +3 -3
  10. package/components/combobox/dist/index.js +3 -3
  11. package/components/combobox/dist/registered.js +3 -3
  12. package/components/counter/demo/api.min.js +2 -2
  13. package/components/counter/demo/index.min.js +2 -2
  14. package/components/counter/dist/index.js +2 -2
  15. package/components/counter/dist/registered.js +2 -2
  16. package/components/datepicker/README.md +10 -24
  17. package/components/datepicker/demo/accessibility.html +50 -0
  18. package/components/datepicker/demo/accessibility.md +64 -0
  19. package/components/datepicker/demo/api.md +0 -1670
  20. package/components/datepicker/demo/api.min.js +3 -3
  21. package/components/datepicker/demo/customize.html +53 -0
  22. package/components/datepicker/demo/customize.md +723 -0
  23. package/components/datepicker/demo/demo-support.js +60 -0
  24. package/components/datepicker/demo/design.html +54 -0
  25. package/components/datepicker/demo/design.md +158 -0
  26. package/components/datepicker/demo/getting-started.html +53 -0
  27. package/components/datepicker/demo/getting-started.md +237 -0
  28. package/components/datepicker/demo/index.html +14 -34
  29. package/components/datepicker/demo/index.md +160 -103
  30. package/components/datepicker/demo/index.min.js +3 -3
  31. package/components/datepicker/demo/keyboard-behavior.html +12 -33
  32. package/components/datepicker/demo/layout.md +92 -0
  33. package/components/datepicker/demo/readme.md +10 -24
  34. package/components/datepicker/demo/styles.css +974 -0
  35. package/components/datepicker/demo/voiceover.html +59 -0
  36. package/components/datepicker/demo/voiceover.md +98 -0
  37. package/components/datepicker/dist/index.js +3 -3
  38. package/components/datepicker/dist/registered.js +3 -3
  39. package/components/dropdown/demo/api.min.js +1 -1
  40. package/components/dropdown/demo/index.min.js +1 -1
  41. package/components/dropdown/dist/index.js +1 -1
  42. package/components/dropdown/dist/registered.js +1 -1
  43. package/components/form/demo/api.min.js +13 -13
  44. package/components/form/demo/index.min.js +13 -13
  45. package/components/input/demo/api.min.js +1 -1
  46. package/components/input/demo/customize.min.js +1 -1
  47. package/components/input/demo/getting-started.min.js +1 -1
  48. package/components/input/demo/index.min.js +1 -1
  49. package/components/input/dist/index.js +1 -1
  50. package/components/input/dist/registered.js +1 -1
  51. package/components/radio/demo/api.min.js +1 -1
  52. package/components/radio/demo/index.min.js +1 -1
  53. package/components/radio/dist/index.js +1 -1
  54. package/components/radio/dist/registered.js +1 -1
  55. package/components/select/demo/customize.min.js +2 -2
  56. package/components/select/demo/getting-started.min.js +2 -2
  57. package/components/select/demo/index.min.js +2 -2
  58. package/components/select/dist/index.js +2 -2
  59. package/components/select/dist/registered.js +2 -2
  60. package/custom-elements.json +1444 -1444
  61. package/package.json +1 -1
@@ -1689,7 +1689,7 @@ class AuroHelpText extends i$2 {
1689
1689
  }
1690
1690
  }
1691
1691
 
1692
- var formkitVersion = '202605012148';
1692
+ var formkitVersion = '202605041621';
1693
1693
 
1694
1694
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1695
1695
  // See LICENSE in the project root for license information.
@@ -1681,7 +1681,7 @@ class AuroHelpText extends i$2 {
1681
1681
  }
1682
1682
  }
1683
1683
 
1684
- var formkitVersion = '202605012148';
1684
+ var formkitVersion = '202605041621';
1685
1685
 
1686
1686
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1687
1687
  // See LICENSE in the project root for license information.
@@ -1634,7 +1634,7 @@ class AuroHelpText extends LitElement {
1634
1634
  }
1635
1635
  }
1636
1636
 
1637
- var formkitVersion = '202605012148';
1637
+ var formkitVersion = '202605041621';
1638
1638
 
1639
1639
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1640
1640
  // See LICENSE in the project root for license information.
@@ -1634,7 +1634,7 @@ class AuroHelpText extends LitElement {
1634
1634
  }
1635
1635
  }
1636
1636
 
1637
- var formkitVersion = '202605012148';
1637
+ var formkitVersion = '202605041621';
1638
1638
 
1639
1639
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1640
1640
  // See LICENSE in the project root for license information.
@@ -5229,7 +5229,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
5229
5229
  }
5230
5230
  };
5231
5231
 
5232
- var formkitVersion$2 = '202605012148';
5232
+ var formkitVersion$2 = '202605041621';
5233
5233
 
5234
5234
  let AuroElement$2 = class AuroElement extends i$4 {
5235
5235
  static get properties() {
@@ -12980,7 +12980,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
12980
12980
  }
12981
12981
  };
12982
12982
 
12983
- var formkitVersion$1 = '202605012148';
12983
+ var formkitVersion$1 = '202605041621';
12984
12984
 
12985
12985
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12986
12986
  // See LICENSE in the project root for license information.
@@ -14045,7 +14045,7 @@ class AuroBibtemplate extends i$4 {
14045
14045
  }
14046
14046
  }
14047
14047
 
14048
- var formkitVersion = '202605012148';
14048
+ var formkitVersion = '202605041621';
14049
14049
 
14050
14050
  var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
14051
14051
 
@@ -1069,7 +1069,7 @@ Cherries
1069
1069
  <div class="exampleWrapper">
1070
1070
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../apiExamples/custom-validity-message.html) -->
1071
1071
  <!-- The below content is automatically added from ./../apiExamples/custom-validity-message.html -->
1072
- <auro-combobox required setCustomValidityValueMissing="Custom value missing message.">
1072
+ <auro-combobox required setCustomValidityValueMissing="Please select a fruit from the list.">
1073
1073
  <span slot="bib.fullscreen.headline">Bib Header</span>
1074
1074
  <span slot="label">Name</span>
1075
1075
  <auro-menu>
@@ -1089,7 +1089,7 @@ Cherries
1089
1089
  <!-- AURO-GENERATED-CONTENT:START (CODE:src=./../apiExamples/custom-validity-message.html) -->
1090
1090
  <!-- The below code snippet is automatically added from ./../apiExamples/custom-validity-message.html -->
1091
1091
 
1092
- <pre class="language-html"><code class="language-html">&lt;auro-combobox required setCustomValidityValueMissing="Custom value missing message."&gt;
1092
+ <pre class="language-html"><code class="language-html">&lt;auro-combobox required setCustomValidityValueMissing="Please select a fruit from the list."&gt;
1093
1093
  &lt;span slot="bib.fullscreen.headline"&gt;Bib Header&lt;/span&gt;
1094
1094
  &lt;span slot="label"&gt;Name&lt;/span&gt;
1095
1095
  &lt;auro-menu&gt;
@@ -5140,7 +5140,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
5140
5140
  }
5141
5141
  };
5142
5142
 
5143
- var formkitVersion$2 = '202605012148';
5143
+ var formkitVersion$2 = '202605041621';
5144
5144
 
5145
5145
  let AuroElement$2 = class AuroElement extends i$4 {
5146
5146
  static get properties() {
@@ -12891,7 +12891,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
12891
12891
  }
12892
12892
  };
12893
12893
 
12894
- var formkitVersion$1 = '202605012148';
12894
+ var formkitVersion$1 = '202605041621';
12895
12895
 
12896
12896
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12897
12897
  // See LICENSE in the project root for license information.
@@ -13956,7 +13956,7 @@ class AuroBibtemplate extends i$4 {
13956
13956
  }
13957
13957
  }
13958
13958
 
13959
- var formkitVersion = '202605012148';
13959
+ var formkitVersion = '202605041621';
13960
13960
 
13961
13961
  var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
13962
13962
 
@@ -5140,7 +5140,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
5140
5140
  }
5141
5141
  };
5142
5142
 
5143
- var formkitVersion$2 = '202605012148';
5143
+ var formkitVersion$2 = '202605041621';
5144
5144
 
5145
5145
  let AuroElement$2 = class AuroElement extends i$4 {
5146
5146
  static get properties() {
@@ -12891,7 +12891,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
12891
12891
  }
12892
12892
  };
12893
12893
 
12894
- var formkitVersion$1 = '202605012148';
12894
+ var formkitVersion$1 = '202605041621';
12895
12895
 
12896
12896
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12897
12897
  // See LICENSE in the project root for license information.
@@ -13956,7 +13956,7 @@ class AuroBibtemplate extends i$4 {
13956
13956
  }
13957
13957
  }
13958
13958
 
13959
- var formkitVersion = '202605012148';
13959
+ var formkitVersion = '202605041621';
13960
13960
 
13961
13961
  var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
13962
13962
 
@@ -5155,7 +5155,7 @@ let AuroHelpText$2 = class AuroHelpText extends i$4 {
5155
5155
  }
5156
5156
  };
5157
5157
 
5158
- var formkitVersion$2 = '202605012148';
5158
+ var formkitVersion$2 = '202605041621';
5159
5159
 
5160
5160
  let AuroElement$2 = class AuroElement extends i$4 {
5161
5161
  static get properties() {
@@ -12906,7 +12906,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$4 {
12906
12906
  }
12907
12907
  };
12908
12908
 
12909
- var formkitVersion$1 = '202605012148';
12909
+ var formkitVersion$1 = '202605041621';
12910
12910
 
12911
12911
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12912
12912
  // See LICENSE in the project root for license information.
@@ -13971,7 +13971,7 @@ class AuroBibtemplate extends i$4 {
13971
13971
  }
13972
13972
  }
13973
13973
 
13974
- var formkitVersion = '202605012148';
13974
+ var formkitVersion = '202605041621';
13975
13975
 
13976
13976
  var styleCss$3 = i$7`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
13977
13977
 
@@ -5073,7 +5073,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5073
5073
  }
5074
5074
  };
5075
5075
 
5076
- var formkitVersion$2 = '202605012148';
5076
+ var formkitVersion$2 = '202605041621';
5077
5077
 
5078
5078
  let AuroElement$2 = class AuroElement extends LitElement {
5079
5079
  static get properties() {
@@ -12817,7 +12817,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
12817
12817
  }
12818
12818
  };
12819
12819
 
12820
- var formkitVersion$1 = '202605012148';
12820
+ var formkitVersion$1 = '202605041621';
12821
12821
 
12822
12822
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12823
12823
  // See LICENSE in the project root for license information.
@@ -13882,7 +13882,7 @@ class AuroBibtemplate extends LitElement {
13882
13882
  }
13883
13883
  }
13884
13884
 
13885
- var formkitVersion = '202605012148';
13885
+ var formkitVersion = '202605041621';
13886
13886
 
13887
13887
  var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
13888
13888
 
@@ -5073,7 +5073,7 @@ let AuroHelpText$2 = class AuroHelpText extends LitElement {
5073
5073
  }
5074
5074
  };
5075
5075
 
5076
- var formkitVersion$2 = '202605012148';
5076
+ var formkitVersion$2 = '202605041621';
5077
5077
 
5078
5078
  let AuroElement$2 = class AuroElement extends LitElement {
5079
5079
  static get properties() {
@@ -12817,7 +12817,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
12817
12817
  }
12818
12818
  };
12819
12819
 
12820
- var formkitVersion$1 = '202605012148';
12820
+ var formkitVersion$1 = '202605041621';
12821
12821
 
12822
12822
  // Copyright (c) 2025 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license
12823
12823
  // See LICENSE in the project root for license information.
@@ -13882,7 +13882,7 @@ class AuroBibtemplate extends LitElement {
13882
13882
  }
13883
13883
  }
13884
13884
 
13885
- var formkitVersion = '202605012148';
13885
+ var formkitVersion = '202605041621';
13886
13886
 
13887
13887
  var styleCss$1 = css`.util_displayInline{display:inline}.util_displayInlineBlock{display:inline-block}.util_displayBlock{display:block}.util_displayFlex{display:flex}.util_displayHidden{display:none}.util_displayHiddenVisually{position:absolute;overflow:hidden;clip:rect(1px, 1px, 1px, 1px);width:1px;height:1px;padding:0;border:0}:host{display:block;text-align:left}:host [auro-dropdown]{--ds-auro-dropdown-trigger-background-color: transparent}:host #inputInBib::part(wrapper){box-shadow:none}:host #inputInBib::part(accent-left){display:none}:host([layout*=classic]) [auro-input]{width:100%}:host([layout*=classic]) [auro-input]::part(helpText){display:none}:host([layout*=classic]) #slotHolder{display:none}`;
13888
13888
 
@@ -1521,7 +1521,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1521
1521
  }
1522
1522
  };
1523
1523
 
1524
- var formkitVersion$1 = '202605012148';
1524
+ var formkitVersion$1 = '202605041621';
1525
1525
 
1526
1526
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1527
1527
  // See LICENSE in the project root for license information.
@@ -5729,7 +5729,7 @@ class AuroHelpText extends i$2 {
5729
5729
  }
5730
5730
  }
5731
5731
 
5732
- var formkitVersion = '202605012148';
5732
+ var formkitVersion = '202605041621';
5733
5733
 
5734
5734
  let AuroElement$1 = class AuroElement extends i$2 {
5735
5735
  static get properties() {
@@ -1521,7 +1521,7 @@ let AuroHelpText$1 = class AuroHelpText extends i$2 {
1521
1521
  }
1522
1522
  };
1523
1523
 
1524
- var formkitVersion$1 = '202605012148';
1524
+ var formkitVersion$1 = '202605041621';
1525
1525
 
1526
1526
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1527
1527
  // See LICENSE in the project root for license information.
@@ -5729,7 +5729,7 @@ class AuroHelpText extends i$2 {
5729
5729
  }
5730
5730
  }
5731
5731
 
5732
- var formkitVersion = '202605012148';
5732
+ var formkitVersion = '202605041621';
5733
5733
 
5734
5734
  let AuroElement$1 = class AuroElement extends i$2 {
5735
5735
  static get properties() {
@@ -1471,7 +1471,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1471
1471
  }
1472
1472
  };
1473
1473
 
1474
- var formkitVersion$1 = '202605012148';
1474
+ var formkitVersion$1 = '202605041621';
1475
1475
 
1476
1476
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1477
1477
  // See LICENSE in the project root for license information.
@@ -5661,7 +5661,7 @@ class AuroHelpText extends LitElement {
5661
5661
  }
5662
5662
  }
5663
5663
 
5664
- var formkitVersion = '202605012148';
5664
+ var formkitVersion = '202605041621';
5665
5665
 
5666
5666
  let AuroElement$1 = class AuroElement extends LitElement {
5667
5667
  static get properties() {
@@ -1471,7 +1471,7 @@ let AuroHelpText$1 = class AuroHelpText extends LitElement {
1471
1471
  }
1472
1472
  };
1473
1473
 
1474
- var formkitVersion$1 = '202605012148';
1474
+ var formkitVersion$1 = '202605041621';
1475
1475
 
1476
1476
  // Copyright (c) 2026 Alaska Airlines. All rights reserved. Licensed under the Apache-2.0 license
1477
1477
  // See LICENSE in the project root for license information.
@@ -5661,7 +5661,7 @@ class AuroHelpText extends LitElement {
5661
5661
  }
5662
5662
  }
5663
5663
 
5664
- var formkitVersion = '202605012148';
5664
+ var formkitVersion = '202605041621';
5665
5665
 
5666
5666
  let AuroElement$1 = class AuroElement extends LitElement {
5667
5667
  static get properties() {
@@ -21,7 +21,7 @@ The following sections are editable by making changes to the following files:
21
21
 
22
22
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/description.md) -->
23
23
  <!-- The below content is automatically added from ./docs/partials/description.md -->
24
- The `<auro-datepicker>` element allows users to select a date, or a pair of dates identifying a range, either with text input or by making a section in a calendar. The `<auro-datepicker>` element is the combination of [auro-dropdown](http://auro.alaskaair.com/components/auro/dropdown), [auro-input](http://auro.alaskaair.com/components/auro/input), and Auro's extension of [wc-range-datepicker](https://www.npmjs.com/package/wc-range-datepicker).
24
+ The <code>&lt;auro-datepicker&gt;</code> element allows users to select a date, or a pair of dates identifying a range, either with text input or by making a section in a calendar. The <code>&lt;auro-datepicker&gt;</code> element is the combination of <auro-hyperlink href="http://auro.alaskaair.com/components/auro/dropdown">auro-dropdown</auro-hyperlink>, <auro-hyperlink href="http://auro.alaskaair.com/components/auro/input">auro-input</auro-hyperlink>, and Auro's extension of <auro-hyperlink href="https://www.npmjs.com/package/wc-range-datepicker" target="_blank">wc-range-datepicker</auro-hyperlink>.
25
25
  <!-- AURO-GENERATED-CONTENT:END -->
26
26
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/readmeAddlInfo.md) -->
27
27
  <!-- The below content is automatically added from ./docs/partials/readmeAddlInfo.md -->
@@ -32,7 +32,7 @@ The `<auro-datepicker>` element allows users to select a date, or a pair of date
32
32
 
33
33
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/useCases.md) -->
34
34
  <!-- The below content is automatically added from ./docs/partials/useCases.md -->
35
- The `<auro-datepicker>` element should be used in situations where users may:
35
+ The <code>&lt;auro-datepicker&gt;</code> element should be used in situations where users may:
36
36
 
37
37
  * select a single date
38
38
  * select a pair of dates which identify a calendar range
@@ -84,18 +84,15 @@ To only develop a single component, use the `--filter` flag:
84
84
  <pre class="language-shell"><code class="language-shell">npx turbo dev --filter=@aurodesignsystem/auro-input</code></pre>
85
85
  <!-- AURO-GENERATED-CONTENT:END -->
86
86
  <!-- AURO-GENERATED-CONTENT:START (FILE:src=./docs/partials/customRegistration.md) -->
87
- <!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
87
+ <!-- The below content is automatically added from ./docs/partials/customRegistration.md -->
88
+ <!-- AURO-GENERATED-CONTENT:START (FILE:src=./../../../docs/partials/customRegistrationDescription.md) -->
89
+ <!-- The below content is automatically added from ./../../../docs/partials/customRegistrationDescription.md -->
90
+ <p>Every Auro component consists of a JavaScript <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</a> and a <a href="https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define">custom element registration</a>. The class defines the component's behavior, and the registration maps it to an HTML tag name so it can be used in markup.</p>
91
+ <p>The default import (shown above) handles both steps automatically, registering the component under its standard tag name.</p>
92
+ <p>If you need multiple versions of the same component on a single page — for example, when two projects depend on different versions — you can register the class under a custom tag name to avoid conflicts.</p>
93
+ <p>To do this, import the component class directly and call its <code>register(name)</code> method with a unique name:</p>
94
+ <!-- AURO-GENERATED-CONTENT:END -->
88
95
 
89
- ## Custom Component Registration for Version Management
90
-
91
- There are two key parts to every Auro component: the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes">class</a> and the custom element definition. The class defines the component’s behavior, while the custom element registers it under a specific name so it can be used in HTML.
92
-
93
- When you install the component as described on the `Install` page, the class is imported automatically, and the component is registered globally for you.
94
-
95
- However, if you need to load multiple versions of the same component on a single page (for example, when two projects depend on different versions), you can manually register the class under a custom element name to avoid conflicts.
96
-
97
- You can do this by importing only the component class and using the `register(name)` method with a unique name:
98
-
99
96
  <pre class="language-js"><code class="language-js">// Import the class only
100
97
  import { AuroDatepicker } from '@aurodesignsystem/auro-formkit/auro-datepicker/class';
101
98
 
@@ -104,20 +101,9 @@ AuroDatepicker.register('custom-datepicker');</code></pre>
104
101
 
105
102
  This will create a new custom element `<custom-datepicker>` that behaves exactly like `<auro-datepicker>`, allowing both to coexist on the same page without interfering with each other.
106
103
 
107
- <div class="exampleWrapper exampleWrapper--flex">
108
- <custom-datepicker>
109
- <span slot="bib.fullscreen.headline">custom-datepicker Example</span>
110
- <span slot="fromLabel">Choose a date</span>
111
- <span slot="bib.fullscreen.dateLabel">Choose a date</span>
112
- </custom-datepicker>
113
- </div>
114
- <auro-accordion alignRight>
115
- <span slot="trigger">See code</span>
116
-
117
104
  <pre class="language-html"><code class="language-html">&lt;custom-datepicker&gt;
118
105
  &lt;span slot="bib.fullscreen.headline"&gt;custom-datepicker Example&lt;/span&gt;
119
106
  &lt;span slot="fromLabel"&gt;Choose a date&lt;/span&gt;
120
107
  &lt;span slot="bib.fullscreen.dateLabel"&gt;Choose a date&lt;/span&gt;
121
108
  &lt;/custom-datepicker&gt;</code></pre>
122
- </auro-accordion>
123
109
  <!-- AURO-GENERATED-CONTENT:END -->
@@ -0,0 +1,50 @@
1
+ <!--
2
+ Copyright (c) Alaska Air. All right reserved. Licensed under the Apache-2.0 license
3
+ See LICENSE in the project root for license information.
4
+
5
+ HTML in this document is standardized and NOT to be edited.
6
+ All demo code should be added/edited in ./demo/accessibility.md
7
+
8
+ With the exception of adding custom elements if needed for the demo.
9
+
10
+ ----------------------- DO NOT EDIT -----------------------------
11
+
12
+ -->
13
+
14
+ <!DOCTYPE html>
15
+ <html lang="en">
16
+ <head>
17
+ <meta charset="UTF-8" />
18
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
19
+ <title>Auro Web Component Demo | auro-datepicker | Accessibility</title>
20
+
21
+ <!-- highlight.js Stylesheet -->
22
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/styles/github.min.css"/>
23
+
24
+ <!-- Legacy reference is still needed to support auro-datepicker's use of legacy token values at this time -->
25
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/legacy/auro-classic/CSSCustomProperties.css"/>
26
+
27
+ <!-- Design Token Alaska Theme -->
28
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/design-tokens@latest/dist/themes/alaska/CSSCustomProperties--alaska.min.css"/>
29
+
30
+ <!-- Webcore Stylesheet Alaska Theme -->
31
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/bundled/themes/alaska.global.min.css" />
32
+
33
+ <!-- Demo Specific Styles -->
34
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/demoWrapper.css" />
35
+ <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@aurodesignsystem/webcorestylesheets@latest/dist/elementDemoStyles.css" />
36
+ <link rel="stylesheet" type="text/css" href="./styles.css" />
37
+ </head>
38
+ <body class="auro-markdown">
39
+ <main></main>
40
+
41
+ <script type="module">
42
+ import { renderPage } from './demo-support.js';
43
+ await renderPage('./accessibility.md');
44
+ </script>
45
+
46
+ <!-- If additional elements are needed for the demo, add them here. -->
47
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-header@latest/+esm" type="module"></script>
48
+ <script src="https://cdn.jsdelivr.net/npm/@aurodesignsystem/auro-hyperlink@latest/+esm" type="module"></script>
49
+ </body>
50
+ </html>
@@ -0,0 +1,64 @@
1
+ <auro-header level="1" id="overview">Datepicker - Accessibility</auro-header>
2
+ <div class="contentWrapper">
3
+ <div class="mainContent">
4
+ <div class="scrollWrapper">
5
+ The `auro-datepicker` component is built on top of `auro-dropdown` and `auro-input`, combining their accessibility features with a calendar interface. This page documents the ARIA semantics, screen reader announcements, and other accessibility behaviors built into the component.
6
+
7
+ For keyboard interaction details, see the <a href="./keyboard-behavior.html">Keyboard Behavior</a> page.
8
+
9
+ <auro-header level="2" id="ariaRolesAndAttributes">ARIA Roles and Attributes</auro-header>
10
+ <auro-header level="3" id="trigger">Trigger Input</auro-header>
11
+ The trigger contains one or two `<auro-input>` elements (depending on whether `range` is set). Each input exposes standard ARIA attributes:
12
+
13
+ | Attribute | Value | Description |
14
+ |---|---|---|
15
+ | `aria-label` | slot text | The input receives its accessible name from the `fromLabel` or `toLabel` slot content. |
16
+ | `aria-invalid` | `true` / `false` | Reflects whether the current value fails validation. |
17
+
18
+ <auro-header level="3" id="clearButton">Clear Button</auro-header>
19
+ The clear button (shown when the input has a value) exposes:
20
+
21
+ | Attribute | Value | Description |
22
+ |---|---|---|
23
+ | `aria-label` | slot text or i18n default | Receives its accessible name from the `ariaLabel.input.clear` slot, falling back to a localized default. |
24
+
25
+ <auro-header level="3" id="helpTextAndErrors">Help Text and Errors</auro-header>
26
+ - Help text is associated with the component so screen readers can announce contextual guidance.
27
+ - When validation fails, the error message is rendered with `role="alert"` and `aria-live="assertive"` to ensure it is announced immediately.
28
+
29
+ <auro-header level="2" id="focusManagement">Focus Management</auro-header>
30
+ The component uses `delegatesFocus: true` on its shadow root, meaning focus is automatically delegated to the first focusable element inside the component (the date input).
31
+
32
+ When the calendar bib opens on small viewports as a fullscreen modal dialog, focus is moved to the dialog's close button, giving screen reader users an immediate action to dismiss it.
33
+
34
+ <auro-header level="2" id="screenReaderAnnouncements">Screen Reader Announcements</auro-header>
35
+ - **Validation errors** — When a validation error occurs, the error message is rendered with `role="alert"` and `aria-live="assertive"`, causing it to be announced immediately without requiring focus.
36
+ - **Help text** — The help text content is associated with the input so that screen readers announce it as part of the element description when focused.
37
+
38
+ <auro-header level="2" id="accessibleLabels">Accessible Labels</auro-header>
39
+ - The `fromLabel` slot content is used as the accessible name for the first date input.
40
+ - When `range` is set, the `toLabel` slot content provides the accessible name for the second date input.
41
+ - The `label` slot is used as the main label when `layout="snowflake"`.
42
+ - A label is required. Without it, assistive technology users will not have context for what the datepicker controls.
43
+
44
+ <auro-header level="2" id="fullscreenBehavior">Fullscreen (Modal) Behavior</auro-header>
45
+ On smaller viewports, the calendar bib opens as a fullscreen modal dialog:
46
+
47
+ - The dialog is opened with `showModal()`, which provides **native focus trapping** — only elements inside the dialog are reachable via Tab.
48
+ - Content outside the dialog is automatically made **inert** by the browser, preventing interaction with the page behind it.
49
+ - A close button inside the dialog is focused when the modal opens, giving screen reader users an immediate action to dismiss it.
50
+ - Touch scrolling on the page behind the dialog is blocked to prevent the background from scrolling into view.
51
+
52
+ <auro-header level="2" id="reducedMotion">Reduced Motion</auro-header>
53
+ The component respects the `prefers-reduced-motion` media query. When the user has requested reduced motion, scroll animations use instant scrolling instead of smooth scrolling.
54
+
55
+ <auro-header level="2" id="formParticipation">Form Participation</auro-header>
56
+ The datepicker integrates with HTML forms through its internal `<auro-input>` elements, which render hidden native `<input>` elements with `aria-hidden="true"`. These elements:
57
+
58
+ - Participate in HTML form submissions, ensuring the selected date value(s) are included in form data.
59
+ - Support the `required` and `disabled` attributes.
60
+ - Are invisible and unreachable by assistive technology — all user interaction goes through the custom component.
61
+
62
+ </div>
63
+ </div>
64
+ </div>