mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
91272: Fixed accessibility violation
This commit is contained in:
@@ -14,6 +14,8 @@ import { Router } from '@angular/router';
|
||||
@Component({
|
||||
/* eslint-disable @angular-eslint/component-selector */
|
||||
selector: 'li[ds-admin-sidebar-section]',
|
||||
// To theme this element remove the surrounding li[] in this component but leave it in the new
|
||||
// ThemedAdminSidebarSectionComponent
|
||||
templateUrl: './admin-sidebar-section.component.html',
|
||||
styleUrls: ['./admin-sidebar-section.component.scss'],
|
||||
|
||||
|
@@ -17,6 +17,8 @@ import { Router } from '@angular/router';
|
||||
@Component({
|
||||
/* eslint-disable @angular-eslint/component-selector */
|
||||
selector: 'li[ds-expandable-admin-sidebar-section]',
|
||||
// To theme this element remove the surrounding li[] in this component but leave it in the new
|
||||
// ThemedExpandableAdminSidebarSectionComponent
|
||||
templateUrl: './expandable-admin-sidebar-section.component.html',
|
||||
styleUrls: ['./expandable-admin-sidebar-section.component.scss'],
|
||||
animations: [rotate, slide, bgColor]
|
||||
|
@@ -11,8 +11,7 @@ import { MenuID } from '../../shared/menu/menu-id.model';
|
||||
* Represents an expandable section in the navbar
|
||||
*/
|
||||
@Component({
|
||||
/* eslint-disable @angular-eslint/component-selector */
|
||||
selector: 'li[ds-expandable-navbar-section]',
|
||||
selector: 'ds-expandable-navbar-section',
|
||||
templateUrl: './expandable-navbar-section.component.html',
|
||||
styleUrls: ['./expandable-navbar-section.component.scss'],
|
||||
animations: [slide]
|
||||
|
@@ -10,6 +10,8 @@ import { MenuID } from '../../shared/menu/menu-id.model';
|
||||
@Component({
|
||||
/* eslint-disable @angular-eslint/component-selector */
|
||||
selector: 'li[ds-navbar-section]',
|
||||
// To theme this element remove the surrounding li[] in this component but leave it in the new
|
||||
// ThemedNavbarSectionComponent
|
||||
templateUrl: './navbar-section.component.html',
|
||||
styleUrls: ['./navbar-section.component.scss']
|
||||
})
|
||||
|
@@ -10,8 +10,7 @@ import { MenuID } from '../../../../../app/shared/menu/menu-id.model';
|
||||
* Represents an expandable section in the navbar
|
||||
*/
|
||||
@Component({
|
||||
/* eslint-disable @angular-eslint/component-selector */
|
||||
selector: 'li[ds-expandable-navbar-section]',
|
||||
selector: 'ds-expandable-navbar-section',
|
||||
// templateUrl: './expandable-navbar-section.component.html',
|
||||
templateUrl: '../../../../../app/navbar/expandable-navbar-section/expandable-navbar-section.component.html',
|
||||
// styleUrls: ['./expandable-navbar-section.component.scss'],
|
||||
|
Reference in New Issue
Block a user