return (
<ScreenPositionHelper className="layout-page-side-outer">
{({ top }) => (
- <div className="layout-page-side" style={{ top }}>
+ <section
+ aria-label={openIssue ? translate('list_of_issues') : translate('filters')}
+ className="layout-page-side"
+ style={{ top }}>
<div className="layout-page-side-inner">
<A11ySkipTarget
anchor="issues_sidebar"
/>
{openIssue ? this.renderConciseIssuesList() : this.renderFacets()}
</div>
- </div>
+ </section>
)}
</ScreenPositionHelper>
);
return (
<div>
+ <h2 className="a11y-hidden">{translate('list_of_issues')}</h2>
{paging.total > 0 && (
<IssuesList
branchLike={branchLike}
<Suggestions suggestions="issues" />
<Helmet defer={false} title={openIssue ? openIssue.message : translate('issues.page')} />
+ <h1 className="a11y-hidden">{translate('issues.page')}</h1>
+
{this.renderSide(openIssue)}
- <div className="layout-page-main">
+ <div role="main" className="layout-page-main">
{this.renderHeader({ openIssue, paging, selectedIndex })}
{this.renderPage()}
encodeSpecialCharacters={true}
title="issues.page"
/>
+ <h1
+ className="a11y-hidden"
+ >
+ issues.page
+ </h1>
<ScreenPositionHelper
className="layout-page-side-outer"
>
</ScreenPositionHelper>
<div
className="layout-page-main"
+ role="main"
>
<div
className="layout-page-header-panel layout-page-main-header issues-main-header"
loading={false}
>
<div>
+ <h2
+ className="a11y-hidden"
+ >
+ list_of_issues
+ </h2>
<IssuesList
checked={Array []}
component={
encodeSpecialCharacters={true}
title="Reduce the number of conditional operators (4) used in the expression"
/>
+ <h1
+ className="a11y-hidden"
+ >
+ issues.page
+ </h1>
<ScreenPositionHelper
className="layout-page-side-outer"
>
</ScreenPositionHelper>
<div
className="layout-page-main"
+ role="main"
>
<A11ySkipTarget
anchor="issues_main"