commit 841cd855f097aed7ea64aa27a43b46840fca96d4
parent 55d1ae9abe55df6c23e20945dde90edd2e6443f9
Author: Scott Venkataraman <scottvenkataraman22@gmail.com>
Date: Tue, 18 Nov 2025 16:45:03 +0000
Bug 1995324 - Move ariaLabel and ariaDescription properties from moz-radio-group to moz-radio r=akulyk
Differential Revision: https://phabricator.services.mozilla.com/D273029
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/toolkit/content/widgets/moz-radio-group/moz-radio-group.mjs b/toolkit/content/widgets/moz-radio-group/moz-radio-group.mjs
@@ -24,8 +24,6 @@ import { MozBaseInputElement } from "../lit-utils.mjs";
* @property {string} value
* Selected value for the group. Changing the value updates the checked
* state of moz-radio children and vice versa.
- * @property {string} ariaLabel - The aria-label text when there is no visible label.
- * @property {string} ariaDescription - The aria-description text when there is no visible description.
* @slot default - The radio group's content, intended for moz-radio elements.
* @slot support-link - The radio group's support link intended for moz-radio elements.
*/
@@ -53,6 +51,8 @@ customElements.define("moz-radio-group", MozRadioGroup);
* Name of the input control, set by the associated moz-radio-group element.
* @property {string} supportPage - Name of the SUMO support page to link to.
* @property {string} value - Value of the radio input.
+ * @property {string} ariaLabel - The aria-label text when there is no visible label.
+ * @property {string} ariaDescription - The aria-description text when there is no visible description.
*/
export class MozRadio extends SelectControlItemMixin(MozBaseInputElement) {
static activatedProperty = "checked";