Commit 608d7177 authored by David Sveningsson's avatar David Sveningsson
Browse files

Merge branch 'feature/selectedcontent' into 'master'

fix(html5): update html-aria mapping for `<selectedcontent>` and `<html>`

See merge request !1262
parents 824d374c b3ae63f7
Loading
Loading
Loading
Loading
Loading
+28 −7
Original line number Diff line number Diff line
@@ -30,6 +30,14 @@ async function update() {
		"area with href": [{ description: "area[href]", selector: "area", markup: `<area href />` }],
		"area without href": [{ description: "area", selector: "area", markup: `<area />` }],
		br: [{ selector: "br", markup: `<br>`, naming: "prohibited" }],
		button: [
			{
				selector: "button",
				markup: "<button></button>",
				role: "button",
				naming: "allowed",
			},
		],
		footer: [
			{
				selector: "footer",
@@ -758,7 +766,7 @@ if (require.main === module) {
}

/* CONTENT BELOW IS GENERATED BY SCRIPT, CHANGES WILL BE OVERWRITTEN! */
/* Updated: Sat, 28 Jun 2025 15:00:12 GMT */
/* Updated: Sun, 22 Feb 2026 13:52:10 GMT */

// prettier-ignore
const data = [
@@ -974,8 +982,8 @@ const data = [
		id: "el-button",
		hash: [
			"ce50a09343724eb82df11390e2c1de18",
			"b49c73d8d338d55f3d4312fa1f2cacd3",
			"3c2c6f3436a8fec210b751f6ed18f096",
			"6e476b2cf7c27d306f6945335feb0be2",
			"76fc776bfe34e6b6d8a8fd2b0b89aed6",
		],
		description: "button",
		selector: "button",
@@ -1676,13 +1684,13 @@ const data = [
		id: "el-html",
		hash: [
			"fc35fdc70d5fc69d269883a822c7a53e",
			"92be2ad265c040d09ddc5fa22f63e1b0",
			"419a9eae9cbe91f85e5974fc1fc22bde",
			"5a20054581be7655f0d9b083f13eb177",
			"8815b5420b9ee1a293d9c2d20b57b05b",
		],
		description: "html",
		selector: "html",
		markup: "<html></html>",
		role: "document",
		role: "generic",
		naming: "prohibited",
	},
	{
@@ -2223,7 +2231,7 @@ const data = [
		hash: [
			"d304ba20e96d87411588eeabac850e34",
			"3429cdcf81145c39ba806c356e4b8755",
			"25244025ab6ec881716f04da098c8dcb",
			"356b4b60ce12d42836bb13bd6f8d3b84",
		],
		description: "label",
		selector: "label",
@@ -2751,6 +2759,19 @@ const data = [
		role: "listbox",
		naming: "allowed",
	},
	{
		id: "el-selectedcontent",
		hash: [
			"bc6d063a1b49443673de6eaeb73a0523",
			"5a20054581be7655f0d9b083f13eb177",
			"4c4e6df8c256bcc6cb6a7c95383e383a",
		],
		description: "selectedcontent",
		selector: "selectedcontent",
		markup: "<selectedcontent></selectedcontent>",
		role: "generic",
		naming: "prohibited",
	},
	{
		id: "el-slot",
		hash: [
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ if (require.main === module) {
}

/* CONTENT BELOW IS GENERATED BY SCRIPT, CHANGES WILL BE OVERWRITTEN! */
/* Updated: Sat Jun 28 2025 15:05:23 GMT+0200 (GMT+02:00) */
/* Updated: Sun Feb 22 2026 13:42:32 GMT+0100 (GMT+01:00) */

const data = [
	{
+5 −1
Original line number Diff line number Diff line
@@ -1266,7 +1266,7 @@ export default {
			},
		},
		aria: {
			implicitRole: "document",
			implicitRole: "generic",
			naming: "prohibited",
		},
	},
@@ -2511,6 +2511,10 @@ export default {
		permittedContent: [],
		textContent: "none",
		requiredAncestors: ["select > button"],
		aria: {
			implicitRole: "generic",
			naming: "prohibited",
		},
	},

	slot: {