diff --git a/package.json b/package.json index c40c6c040f..6711bbdfa1 100644 --- a/package.json +++ b/package.json @@ -130,7 +130,7 @@ "lit-analyzer": "2.0.3", "madge": "7.0.0", "npm-run-all2": "6.2.2", - "playwright": "1.44.1", + "playwright": "1.45.3", "postcss": "8.4.40", "prettier": "3.3.3", "react": "18.3.1", @@ -156,7 +156,7 @@ "@web/dev-server-core": "0.7.1", "jackspeak": "2.1.1", "lit": "3.1.4", - "playwright": "1.44.1", + "playwright": "1.45.3", "prettier": "3.3.3" }, "prettier": { diff --git a/src/elements/option/option/__snapshots__/option.snapshot.spec.snap.js b/src/elements/option/option/__snapshots__/option.snapshot.spec.snap.js index 966b420dda..f7058026de 100644 --- a/src/elements/option/option/__snapshots__/option.snapshot.spec.snap.js +++ b/src/elements/option/option/__snapshots__/option.snapshot.spec.snap.js @@ -71,7 +71,14 @@ snapshots["sbb-option selected active Chrome"] = `
{ "role": "WebArea", - "name": "" + "name": "", + "children": [ + { + "role": "listbox", + "name": "", + "orientation": "vertical" + } + ] }
`; @@ -81,7 +88,14 @@ snapshots["sbb-option disabled Chrome"] = `{ "role": "WebArea", - "name": "" + "name": "", + "children": [ + { + "role": "listbox", + "name": "", + "orientation": "vertical" + } + ] }
`; @@ -94,9 +108,15 @@ snapshots["sbb-option selected active Firefox"] = "name": "", "children": [ { - "role": "option", + "role": "listbox", "name": "", - "selected": true + "children": [ + { + "role": "option", + "name": "1", + "selected": true + } + ] } ] } @@ -111,9 +131,15 @@ snapshots["sbb-option disabled Firefox"] = "name": "", "children": [ { - "role": "option", + "role": "listbox", "name": "", - "disabled": true + "children": [ + { + "role": "option", + "name": "1", + "disabled": true + } + ] } ] } diff --git a/src/elements/option/option/option.snapshot.spec.ts b/src/elements/option/option/option.snapshot.spec.ts index 571f51f56e..21f1bd05da 100644 --- a/src/elements/option/option/option.snapshot.spec.ts +++ b/src/elements/option/option/option.snapshot.spec.ts @@ -56,9 +56,12 @@ describe(`sbb-option`, () => { }); testA11yTreeSnapshot( - html`