mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Fix Process detail accessibility issues
- Made Process Output keyboard accessible
(cherry picked from commit 120835cfcd
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
9ed13f31ff
commit
5e52233cf3
@@ -32,7 +32,7 @@ describe('ProcessDetailFieldComponent', () => {
|
||||
});
|
||||
|
||||
it('should display the given title', () => {
|
||||
const header = fixture.debugElement.query(By.css('h4')).nativeElement;
|
||||
const header = fixture.debugElement.query(By.css('h2')).nativeElement;
|
||||
expect(header.textContent).toContain(title);
|
||||
});
|
||||
});
|
||||
|
@@ -53,7 +53,7 @@
|
||||
</button>
|
||||
<ds-themed-loading *ngIf="retrievingOutputLogs$ | async" class="ds-themed-loading"
|
||||
message="{{ 'process.detail.logs.loading' | translate }}"></ds-themed-loading>
|
||||
<pre class="font-weight-bold text-secondary bg-light p-3"
|
||||
<pre class="font-weight-bold text-secondary bg-light p-3" tabindex="0"
|
||||
*ngIf="showOutputLogs && (outputLogs$ | async)?.length > 0">{{ (outputLogs$ | async) }}</pre>
|
||||
<p id="no-output-logs-message" *ngIf="(!(retrievingOutputLogs$ | async) && showOutputLogs)
|
||||
&& !(outputLogs$ | async) || (outputLogs$ | async)?.length == 0 || !process._links.output">
|
||||
|
Reference in New Issue
Block a user