Merge "A11y - headlines for Change Page"
This commit is contained in:
@@ -338,6 +338,7 @@ export const htmlTemplate = html`
|
|||||||
</span>
|
</span>
|
||||||
</section>
|
</section>
|
||||||
<div class="separatedSection">
|
<div class="separatedSection">
|
||||||
|
<h3 class="assistive-tech-only">Label Scores</h3>
|
||||||
<gr-change-requirements
|
<gr-change-requirements
|
||||||
change="{{change}}"
|
change="{{change}}"
|
||||||
account="[[account]]"
|
account="[[account]]"
|
||||||
|
|||||||
@@ -349,6 +349,9 @@ export const htmlTemplate = html`
|
|||||||
>
|
>
|
||||||
<section class="changeInfoSection">
|
<section class="changeInfoSection">
|
||||||
<div class$="[[_computeHeaderClass(_editMode)]]">
|
<div class$="[[_computeHeaderClass(_editMode)]]">
|
||||||
|
<h1 class="assistive-tech-only">
|
||||||
|
Change [[_change._number]]: [[_change.subject]]
|
||||||
|
</h1>
|
||||||
<div class="headerTitle">
|
<div class="headerTitle">
|
||||||
<div class="changeStatuses">
|
<div class="changeStatuses">
|
||||||
<template is="dom-repeat" items="[[_changeStatuses]]" as="status">
|
<template is="dom-repeat" items="[[_changeStatuses]]" as="status">
|
||||||
@@ -419,6 +422,7 @@ export const htmlTemplate = html`
|
|||||||
<!-- end commit actions -->
|
<!-- end commit actions -->
|
||||||
</div>
|
</div>
|
||||||
<!-- end header -->
|
<!-- end header -->
|
||||||
|
<h2 class="assistive-tech-only">Change metadata</h2>
|
||||||
<div class="changeInfo">
|
<div class="changeInfo">
|
||||||
<div class="changeInfo-column changeMetadata hideOnMobileOverlay">
|
<div class="changeInfo-column changeMetadata hideOnMobileOverlay">
|
||||||
<gr-change-metadata
|
<gr-change-metadata
|
||||||
@@ -436,6 +440,7 @@ export const htmlTemplate = html`
|
|||||||
<div id="mainChangeInfo" class="changeInfo-column mainChangeInfo">
|
<div id="mainChangeInfo" class="changeInfo-column mainChangeInfo">
|
||||||
<div id="commitAndRelated" class="hideOnMobileOverlay">
|
<div id="commitAndRelated" class="hideOnMobileOverlay">
|
||||||
<div class="commitContainer">
|
<div class="commitContainer">
|
||||||
|
<h3 class="assistive-tech-only">Commit Message</h3>
|
||||||
<div>
|
<div>
|
||||||
<gr-button
|
<gr-button
|
||||||
id="replyBtn"
|
id="replyBtn"
|
||||||
@@ -539,6 +544,7 @@ export const htmlTemplate = html`
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<h2 class="assistive-tech-only">Files and Comments tabs</h2>
|
||||||
<paper-tabs id="primaryTabs" on-selected-changed="_setActivePrimaryTab">
|
<paper-tabs id="primaryTabs" on-selected-changed="_setActivePrimaryTab">
|
||||||
<paper-tab data-name$="[[_constants.PrimaryTab.FILES]]">Files</paper-tab>
|
<paper-tab data-name$="[[_constants.PrimaryTab.FILES]]">Files</paper-tab>
|
||||||
<paper-tab
|
<paper-tab
|
||||||
@@ -699,6 +705,7 @@ export const htmlTemplate = html`
|
|||||||
</paper-tab>
|
</paper-tab>
|
||||||
</paper-tabs>
|
</paper-tabs>
|
||||||
<section class="changeLog">
|
<section class="changeLog">
|
||||||
|
<h2 class="assistive-tech-only">Change Log</h2>
|
||||||
<template
|
<template
|
||||||
is="dom-if"
|
is="dom-if"
|
||||||
if="[[_isTabActive(_constants.SecondaryTab.CHANGE_LOG, _activeTabs)]]"
|
if="[[_isTabActive(_constants.SecondaryTab.CHANGE_LOG, _activeTabs)]]"
|
||||||
|
|||||||
@@ -314,6 +314,7 @@ export const htmlTemplate = html`
|
|||||||
--gr-comment-thread-display: none;
|
--gr-comment-thread-display: none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<h3 class="assistive-tech-only">File list</h3>
|
||||||
<div
|
<div
|
||||||
id="container"
|
id="container"
|
||||||
on-click="_handleFileListClick"
|
on-click="_handleFileListClick"
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ export const htmlTemplate = html`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<h3 class="assistive-tech-only">Patchset Range Selection</h3>
|
||||||
<span class="patchRange" aria-label="patch range starts with">
|
<span class="patchRange" aria-label="patch range starts with">
|
||||||
<gr-dropdown-list
|
<gr-dropdown-list
|
||||||
id="basePatchDropdown"
|
id="basePatchDropdown"
|
||||||
|
|||||||
Reference in New Issue
Block a user