diff --git a/files/en-us/web/api/htmlbuttonelement/validity/index.md b/files/en-us/web/api/htmlbuttonelement/validity/index.md
new file mode 100644
index 000000000000000..3b8acc8e050b6da
--- /dev/null
+++ b/files/en-us/web/api/htmlbuttonelement/validity/index.md
@@ -0,0 +1,42 @@
+---
+title: "HTMLButtonElement: validity property"
+short-title: validity
+slug: Web/API/HTMLButtonElement/validity
+page-type: web-api-instance-property
+browser-compat: api.HTMLButtonElement.validity
+---
+
+{{APIRef("HTML DOM")}}
+
+The **`validity`** read-only property of the {{domxref("HTMLButtonElement")}} interface returns a {{domxref("ValidityState")}} with the validity states that this element is in.
+
+## Value
+
+A {{domxref("ValidityState")}} object.
+
+## Examples
+
+The following example gets the validity state of a button element and processes it if it is not valid:
+
+```js
+const button = document.getElementById("myButton");
+if (!button.validity.valid) {
+ // Test each validity state
+}
+```
+
+## Specifications
+
+{{Specifications}}
+
+## Browser compatibility
+
+{{Compat}}
+
+## See also
+
+- {{domxref("HTMLButtonElement.checkValidity()")}}
+- {{HTMLElement("button")}}
+- {{HTMLElement("form")}}
+- [Learn: Client-side form validation](/en-US/docs/Learn/Forms/Form_validation)
+- [Guide: Constraint validation](/en-US/docs/Web/HTML/Constraint_validation)
diff --git a/files/en-us/web/api/htmlfieldsetelement/checkvalidity/index.md b/files/en-us/web/api/htmlfieldsetelement/checkvalidity/index.md
index ef87460610172ad..b52dfb9c65f61e8 100644
--- a/files/en-us/web/api/htmlfieldsetelement/checkvalidity/index.md
+++ b/files/en-us/web/api/htmlfieldsetelement/checkvalidity/index.md
@@ -10,6 +10,9 @@ browser-compat: api.HTMLFieldSetElement.checkValidity
The **`checkValidity()`** method of the {{domxref("HTMLFieldSetElement")}} interface checks if the element is valid, but always returns true because {{HTMLElement("fieldset")}} elements are never candidates for [constraint validation](/en-US/docs/Web/HTML/Constraint_validation) .
+> [!NOTE]
+> The {{cssxref(":valid")}} and {{cssxref(":invalid")}} CSS pseudo-classes are applied to `