diff --git a/src/AgreementHtml.tsx b/src/AgreementHtml.tsx index 42c8b2b..7c5cd4f 100644 --- a/src/AgreementHtml.tsx +++ b/src/AgreementHtml.tsx @@ -19,6 +19,7 @@ function AgreementHtml({ loading }: { loading: any }) { display: "flex", flexDirection: "column", }} + aria-label="Agreement preview container" // Added aria-label for the main container >

Preview Output

@@ -41,6 +42,7 @@ function AgreementHtml({ loading }: { loading: any }) { } /> @@ -50,6 +52,7 @@ function AgreementHtml({ loading }: { loading: any }) { className="agreement" dangerouslySetInnerHTML={{ __html: agreementHtml }} style={{ flex: 1, color: textColor, backgroundColor: backgroundColor }} + aria-label="Agreement content preview" // Added aria-label for the agreement content /> )}
diff --git a/src/App.tsx b/src/App.tsx index 22d5a39..593a391 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -36,7 +36,6 @@ const App = () => { } }; - const onChange = (key: string | string[]) => { setActivePanel(key); }; @@ -104,7 +103,7 @@ const App = () => { return ( - + { gap: "10px", }} > - - + + - +
{ defaultActiveKey={activePanel} onChange={onChange} items={panels} + aria-label="Collapse panels for templates and model" /> @@ -158,11 +158,11 @@ const App = () => { }} >
- - + +
- + @@ -181,7 +181,6 @@ const App = () => { path="module2" element={} /> - } @@ -189,7 +188,7 @@ const App = () => {
-