Fix usages of ARIA tabpanel (#10628)
* RovingTabIndex handle looping around start/end * Make TabbedView expose aria tabpanel/tablist/tab roles * Fix right panel being wrongly specified as aria tabs Not all right panels map to the top right header buttons so we cannot describe it as a tabpanel relation * tsc strict * Update snapshots * Fix ARIA AXE violation * Update tests
This commit is contained in:
@@ -59,7 +59,7 @@ const INTEGRATION_MANAGER_HTML = `
|
||||
`;
|
||||
|
||||
function openIntegrationManager() {
|
||||
cy.findByRole("tab", { name: "Room info" }).click();
|
||||
cy.findByRole("button", { name: "Room info" }).click();
|
||||
cy.findByRole("button", { name: "Add widgets, bridges & bots" }).click();
|
||||
}
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ const INTEGRATION_MANAGER_HTML = `
|
||||
`;
|
||||
|
||||
function openIntegrationManager() {
|
||||
cy.findByRole("tab", { name: "Room info" }).click();
|
||||
cy.findByRole("button", { name: "Room info" }).click();
|
||||
cy.findByRole("button", { name: "Add widgets, bridges & bots" }).click();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user