Skip to content

Commit 42d358d

Browse files
Typo fix on code example on "attribute reflection" page (mdn#40689)
correcting typo mistake with span id name in code example
1 parent 13b1751 commit 42d358d

File tree

1 file changed

+1
-1
lines changed
  • files/en-us/web/api/document_object_model/reflected_attributes

1 file changed

+1
-1
lines changed

files/en-us/web/api/document_object_model/reflected_attributes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Setting the attribute value restores the relationship between the attribute and
190190
Continuing the example from above:
191191

192192
```js
193-
inputElement.setAttribute("aria-labelledby", "input1");
193+
inputElement.setAttribute("aria-labelledby", "label_1");
194194

195195
attributeValue = inputElement.getAttribute("aria-labelledby");
196196
console.log(attributeValue);

0 commit comments

Comments
 (0)