Skip to content

Commit 120835c

Browse files
Fix Process detail accessibility issues
- Made Process Output keyboard accessible
1 parent 52c0977 commit 120835c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/process-page/detail/process-detail-field/process-detail-field.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('ProcessDetailFieldComponent', () => {
3232
});
3333

3434
it('should display the given title', () => {
35-
const header = fixture.debugElement.query(By.css('h4')).nativeElement;
35+
const header = fixture.debugElement.query(By.css('h2')).nativeElement;
3636
expect(header.textContent).toContain(title);
3737
});
3838
});

src/app/process-page/detail/process-detail.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h2 class="flex-grow-1">
5353
</button>
5454
<ds-themed-loading *ngIf="retrievingOutputLogs$ | async" class="ds-themed-loading"
5555
message="{{ 'process.detail.logs.loading' | translate }}"></ds-themed-loading>
56-
<pre class="font-weight-bold text-secondary bg-light p-3"
56+
<pre class="font-weight-bold text-secondary bg-light p-3" tabindex="0"
5757
*ngIf="showOutputLogs && (outputLogs$ | async)?.length > 0">{{ (outputLogs$ | async) }}</pre>
5858
<p id="no-output-logs-message" *ngIf="(!(retrievingOutputLogs$ | async) && showOutputLogs)
5959
&& !(outputLogs$ | async) || (outputLogs$ | async)?.length == 0 || !process._links.output">

0 commit comments

Comments
 (0)