@nectary/components 5.15.0 → 5.15.1
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/bundle.js +1 -0
- package/input/index.js +1 -0
- package/package.json +1 -1
package/bundle.js
CHANGED
|
@@ -6163,6 +6163,7 @@ class Input extends NectaryElement {
|
|
|
6163
6163
|
#updateInputRole() {
|
|
6164
6164
|
if (this.type === "number") {
|
|
6165
6165
|
this.#$input.setAttribute("role", "spinbutton");
|
|
6166
|
+
this.#$input.removeAttribute("aria-placeholder");
|
|
6166
6167
|
this.#updateAriaValueAttributes();
|
|
6167
6168
|
} else {
|
|
6168
6169
|
this.#$input.removeAttribute("role");
|
package/input/index.js
CHANGED
|
@@ -752,6 +752,7 @@ class Input extends NectaryElement {
|
|
|
752
752
|
#updateInputRole() {
|
|
753
753
|
if (this.type === "number") {
|
|
754
754
|
this.#$input.setAttribute("role", "spinbutton");
|
|
755
|
+
this.#$input.removeAttribute("aria-placeholder");
|
|
755
756
|
this.#updateAriaValueAttributes();
|
|
756
757
|
} else {
|
|
757
758
|
this.#$input.removeAttribute("role");
|