Skip to content

Commit

Permalink
Don't mark notices container as landmark region
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Jul 14, 2021
1 parent 0d734ac commit db17241
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ function InterfaceSkeleton(
drawer: __( 'Drawer' ),
/* translators: accessibility text for the top bar landmark region. */
header: __( 'Header' ),
/* translators: accessibility text for the notices landmark region. */
notices: __( 'Notices' ),
/* translators: accessibility text for the content landmark region. */
body: __( 'Content' ),
/* translators: accessibility text for the secondary sidebar landmark region. */
Expand Down Expand Up @@ -112,12 +110,7 @@ function InterfaceSkeleton(
</div>
) }
{ !! notices && (
<div
className="interface-interface-skeleton__notices"
role="region"
aria-label={ mergedLabels.notices }
tabIndex="-1"
>
<div className="interface-interface-skeleton__notices">
{ notices }
</div>
) }
Expand Down

0 comments on commit db17241

Please sign in to comment.