Skip to content

Commit 0784b5f

Browse files
johnyesitCopilotjonkiky
authored
Add aria-label attribute and column header to fix the aria-input-field-name and aria-command-name 508 issues (cBioPortal#5206)
* Add lang attribute to html element * Remove lang from frontend repo * Fix scrollable-region-focus-related issues * Fix couple of label-related issues * Fix all label-related issues * Typo fixes in comments * Fix select-name-related issues * Fix aria-required-parent-related issues --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Yizhen Chen <cheny39@nih.gov>
1 parent 0ea276e commit 0784b5f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/pages/studyView/resources/FilesAndLinks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export class FilesAndLinks extends React.Component<IFilesLinksTable, {}> {
301301
},
302302

303303
{
304-
...this.getDefaultColumnConfig('resourceUrl', ''),
304+
...this.getDefaultColumnConfig('resourceUrl', 'Resource URL'),
305305
render: (data: { [id: string]: string }) => {
306306
return (
307307
<div>

src/shared/components/plots/PlotsTab.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4016,6 +4016,7 @@ export default class PlotsTab extends React.Component<IPlotsTabProps, {}> {
40164016
<label className="label-text">Data Type</label>
40174017
<div style={{ display: 'flex', alignItems: 'center' }}>
40184018
<ReactSelect
4019+
aria-label="Data Type Dropdown"
40194020
name={`${
40204021
vertical ? 'v' : 'h'
40214022
}-profile-type-selector`}

0 commit comments

Comments
 (0)