diff --git a/accessibility-checker-extension/src/ts/options/OptionsApp.tsx b/accessibility-checker-extension/src/ts/options/OptionsApp.tsx index 5995f7938..67f05c7ea 100644 --- a/accessibility-checker-extension/src/ts/options/OptionsApp.tsx +++ b/accessibility-checker-extension/src/ts/options/OptionsApp.tsx @@ -434,7 +434,7 @@ export class OptionsApp extends React.Component<{}, OptionsAppState> {

Preview rules: Try an experimental preview of possible future rule set

-

For details on rule set changes between deployments, see Release notes

+

For details on rule set changes between deployments, see Release notes

, document.body)} {typeof document === 'undefined' ? null : ReactDOM.createPortal( ( cp.rules @@ -101,9 +96,16 @@ async function getAssertion(ruleId, aceRules, result) { rule.id === ruleId // and either maps to all reasons, or one the these reasons is selected && (!rule.reasonCodes || rule.reasonCodes.filter(code => aceRule.reasonIds.includes(code))) - ).length > 0) + )).length > 0 // Replace with the scId - )).map(cp => cp.scId) + )).map(cp => cp.scId)); + } + } + return { + "@type": "Assertion", + "test": { + "title": ruleTitle, + "isPartOf": Array.from(new Set(scs)) }, "result": { "outcome": result } }