Skip to content

Commit

Permalink
tabindex
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Oct 24, 2024
1 parent eeab058 commit 92a72ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/public/scss/notification.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.notifications {
position: relative;
z-index: -1;
z-index: 1;

// HACK: Using this rule to get around styling issues with <p> elements in the
// notification content (notification content in Wagtail is configured to be HTML,
Expand Down
1 change: 1 addition & 0 deletions frontend/public/src/components/NotificationContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export class NotificationContainer extends React.Component<Props, State> {
className="notifications order-2"
id="notifications-container"
ref={this.headingRef}
tabIndex="-1"
>
{Object.keys(userNotifications).map((notificationKey, i) => {
const dismiss = partial(this.onDismiss, [notificationKey])
Expand Down

0 comments on commit 92a72ba

Please sign in to comment.