diff --git a/src/components/bulk-email-tool/BulkEmailTool.jsx b/src/components/bulk-email-tool/BulkEmailTool.jsx index e4962b71..76d573fb 100644 --- a/src/components/bulk-email-tool/BulkEmailTool.jsx +++ b/src/components/bulk-email-tool/BulkEmailTool.jsx @@ -18,13 +18,13 @@ export default function BulkEmailTool() { return ( {(courseMetadata) => (courseMetadata.originalUserIsStaff ? ( -
+ <>
-

+

-

+ ) : ( ))} diff --git a/src/components/bulk-email-tool/bulk-email-task-manager/BulkEmailContentHistory.jsx b/src/components/bulk-email-tool/bulk-email-task-manager/BulkEmailContentHistory.jsx index 75a0dab9..90e16494 100644 --- a/src/components/bulk-email-tool/bulk-email-task-manager/BulkEmailContentHistory.jsx +++ b/src/components/bulk-email-tool/bulk-email-task-manager/BulkEmailContentHistory.jsx @@ -109,6 +109,7 @@ function BulkEmailContentHistory({ intl }) { Cell: ({ row }) => ( ), }, diff --git a/src/components/bulk-email-tool/bulk-email-task-manager/BulkEmailPendingTasksAlert.jsx b/src/components/bulk-email-tool/bulk-email-task-manager/BulkEmailPendingTasksAlert.jsx index e75d8d7b..3ceec475 100644 --- a/src/components/bulk-email-tool/bulk-email-task-manager/BulkEmailPendingTasksAlert.jsx +++ b/src/components/bulk-email-tool/bulk-email-task-manager/BulkEmailPendingTasksAlert.jsx @@ -16,6 +16,7 @@ export default function BulkEmailPendingTasksAlert() { { expect(await screen.findByText(email.requester)).toBeTruthy(); expect(await screen.findByText(email.sent_to.join(', '))).toBeTruthy(); expect(await screen.findByText(email.email.subject)).toBeTruthy(); + // verify screen reader only + expect(await screen.findByText('0')).toHaveClass('sr-only'); expect(await screen.findAllByText('View Message')).toBeTruthy(); }); }); diff --git a/src/components/page-container/PageContainer.jsx b/src/components/page-container/PageContainer.jsx index bb446565..21ed5286 100644 --- a/src/components/page-container/PageContainer.jsx +++ b/src/components/page-container/PageContainer.jsx @@ -65,7 +65,9 @@ export default function PageContainer(props) { courseNumber={courseMetadata.number} courseTitle={courseMetadata.title} /> - {children} +
+ {children} +