mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: Add accessible landmark markup (#36753)
* Add landmark markup * Make panel titles h2 * Descibe panel landmarks * Add nav elements and heading 1 * Reset line height and remove margin * Make focus styles visible * Change nav to section * Add desc * Fix focus styles cutoff
This commit is contained in:
@@ -37,22 +37,6 @@ $panel-header-no-title-zindex: 1;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.panel-title-text {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
max-width: calc(100% - 38px);
|
||||
cursor: pointer;
|
||||
font-weight: $font-weight-semi-bold;
|
||||
|
||||
&:hover {
|
||||
color: $link-hover-color;
|
||||
}
|
||||
.panel-has-alert & {
|
||||
max-width: calc(100% - 54px);
|
||||
}
|
||||
}
|
||||
|
||||
.panel-menu-container {
|
||||
width: 0px;
|
||||
height: 19px;
|
||||
|
||||
Reference in New Issue
Block a user