diff --git a/Userland/Libraries/LibWeb/HTML/AttributeNames.h b/Userland/Libraries/LibWeb/HTML/AttributeNames.h
index d26ff731b2c..d8d3900016c 100644
--- a/Userland/Libraries/LibWeb/HTML/AttributeNames.h
+++ b/Userland/Libraries/LibWeb/HTML/AttributeNames.h
@@ -67,6 +67,7 @@ namespace AttributeNames {
__ENUMERATE_HTML_ATTRIBUTE(enctype) \
__ENUMERATE_HTML_ATTRIBUTE(event) \
__ENUMERATE_HTML_ATTRIBUTE(face) \
+ __ENUMERATE_HTML_ATTRIBUTE(fetchpriority) \
__ENUMERATE_HTML_ATTRIBUTE(for_) \
__ENUMERATE_HTML_ATTRIBUTE(form) \
__ENUMERATE_HTML_ATTRIBUTE(formaction) \
diff --git a/Userland/Libraries/LibWeb/HTML/Scripting/Fetching.idl b/Userland/Libraries/LibWeb/HTML/Scripting/Fetching.idl
index 960b92c161c..491969bd586 100644
--- a/Userland/Libraries/LibWeb/HTML/Scripting/Fetching.idl
+++ b/Userland/Libraries/LibWeb/HTML/Scripting/Fetching.idl
@@ -11,3 +11,11 @@ enum LazyLoadingAttribute {
"lazy",
"eager"
};
+
+// https://html.spec.whatwg.org/multipage/urls-and-fetching.html#fetch-priority-attributes
+[MissingValueDefault=auto, InvalidValueDefault=auto]
+enum FetchPriorityAttribute {
+ "high",
+ "low",
+ "auto"
+};