From 2045e79ea421e6895665670ab745085441905941 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Thu, 25 Oct 2018 11:53:56 +0300 Subject: [PATCH] Fixed #6760 - Replace href="#" with tabindex="0" --- src/app/components/calendar/calendar.ts | 30 +++++++++---------- src/app/components/carousel/carousel.ts | 2 +- .../components/confirmdialog/confirmdialog.ts | 2 +- src/app/components/dataview/dataview.ts | 4 +-- src/app/components/dialog/dialog.ts | 4 +-- src/app/components/fieldset/fieldset.ts | 2 +- src/app/components/lightbox/lightbox.ts | 2 +- src/app/components/messages/messages.ts | 2 +- .../components/multiselect/multiselect.css | 5 +--- src/app/components/multiselect/multiselect.ts | 2 +- .../organizationchart/organizationchart.ts | 2 +- .../components/overlaypanel/overlaypanel.css | 1 + .../components/overlaypanel/overlaypanel.ts | 2 +- src/app/components/paginator/paginator.ts | 20 ++++++------- src/app/components/panel/panel.ts | 4 +-- src/app/components/rating/rating.ts | 4 +-- src/app/components/sidebar/sidebar.ts | 2 +- src/app/components/table/table.ts | 2 +- src/app/components/toast/toast.ts | 2 +- src/app/components/treetable/treetable.ts | 6 ++-- .../overlaypanel/overlaypaneldemo.html | 6 ++-- .../components/themes/luna-amber/theme.css | 3 -- .../components/themes/luna-blue/theme.css | 3 -- .../components/themes/luna-green/theme.css | 3 -- .../components/themes/luna-pink/theme.css | 3 -- .../components/themes/nova-colored/theme.css | 3 -- .../components/themes/nova-dark/theme.css | 3 -- .../components/themes/nova-light/theme.css | 3 -- 28 files changed, 53 insertions(+), 74 deletions(-) diff --git a/src/app/components/calendar/calendar.ts b/src/app/components/calendar/calendar.ts index a05998360df..9203d267024 100644 --- a/src/app/components/calendar/calendar.ts +++ b/src/app/components/calendar/calendar.ts @@ -44,10 +44,10 @@ export interface LocaleSettings {
- + - +
@@ -91,63 +91,63 @@ export interface LocaleSettings {
- + 0{{currentHour}} - +
- + 0{{currentMinute}} - +
- + 0{{currentSecond}} - +
- + {{pm ? 'PM' : 'AM'}} - +
diff --git a/src/app/components/carousel/carousel.ts b/src/app/components/carousel/carousel.ts index 5252463387c..7052ffcee01 100644 --- a/src/app/components/carousel/carousel.ts +++ b/src/app/components/carousel/carousel.ts @@ -14,7 +14,7 @@ import {CommonModule} from '@angular/common';
- +
diff --git a/src/app/components/organizationchart/organizationchart.ts b/src/app/components/organizationchart/organizationchart.ts index 49d532490b4..ec0bba71909 100644 --- a/src/app/components/organizationchart/organizationchart.ts +++ b/src/app/components/organizationchart/organizationchart.ts @@ -19,7 +19,7 @@ import {PrimeTemplate} from '../common/shared';
- + diff --git a/src/app/components/overlaypanel/overlaypanel.css b/src/app/components/overlaypanel/overlaypanel.css index 81124a8b8ac..1004fd0c4f3 100644 --- a/src/app/components/overlaypanel/overlaypanel.css +++ b/src/app/components/overlaypanel/overlaypanel.css @@ -19,6 +19,7 @@ -moz-border-radius: 100%; -webkit-border-radius: 100%; border-radius: 100%; + cursor: pointer; } .ui-overlaypanel-close-icon { diff --git a/src/app/components/overlaypanel/overlaypanel.ts b/src/app/components/overlaypanel/overlaypanel.ts index e7145b014f1..d3118914447 100644 --- a/src/app/components/overlaypanel/overlaypanel.ts +++ b/src/app/components/overlaypanel/overlaypanel.ts @@ -11,7 +11,7 @@ import {trigger,state,style,transition,animate,AnimationEvent} from '@angular/an
- + diff --git a/src/app/components/paginator/paginator.ts b/src/app/components/paginator/paginator.ts index eb81674532b..d2c30fab7ed 100644 --- a/src/app/components/paginator/paginator.ts +++ b/src/app/components/paginator/paginator.ts @@ -13,24 +13,24 @@ import {SharedModule} from '../common/shared';
- + - + - {{pageLink}} + {{pageLink}} - + - + {{header}} - + diff --git a/src/app/components/rating/rating.ts b/src/app/components/rating/rating.ts index 144289aed63..dafbc2b0a39 100644 --- a/src/app/components/rating/rating.ts +++ b/src/app/components/rating/rating.ts @@ -12,10 +12,10 @@ export const RATING_VALUE_ACCESSOR: any = { selector: 'p-rating', template: `
- + - + - + diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 8970e1d7cbc..1dae8d902db 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -2194,7 +2194,7 @@ export class SortableColumn implements OnInit, OnDestroy { @Component({ selector: 'p-sortIcon', template: ` - + ` diff --git a/src/app/components/toast/toast.ts b/src/app/components/toast/toast.ts index 5e4b5ef7431..b1e9131421b 100644 --- a/src/app/components/toast/toast.ts +++ b/src/app/components/toast/toast.ts @@ -15,7 +15,7 @@ import {trigger,state,style,transition,animate,query,animateChild} from '@angula 'ui-toast-message-error': message.severity == 'error','ui-toast-message-success': message.severity == 'success'}" (mouseenter)="onMouseEnter()" (mouseleave)="onMouseLeave()">
- + + ` @@ -2299,7 +2299,9 @@ export class TreeTableCellEditor implements AfterContentInit { @Component({ selector: 'p-treeTableToggler', template: ` - + ` diff --git a/src/app/showcase/components/overlaypanel/overlaypaneldemo.html b/src/app/showcase/components/overlaypanel/overlaypaneldemo.html index f3c9739cfc4..8aeeadddd34 100644 --- a/src/app/showcase/components/overlaypanel/overlaypaneldemo.html +++ b/src/app/showcase/components/overlaypanel/overlaypaneldemo.html @@ -15,11 +15,11 @@

Basic

Customized

-

This OverlayPanel gets displayed on hover of the icon, is not dismissable and displays a close icon.

+

This OverlayPanel gets displayed on hover of the icon and displays a close icon.

- + Vin @@ -307,7 +307,7 @@

Dependencies

<i class="pi pi-search" (mouseenter)="op2.show($event)" style="font-size:24px"></i> <p-overlayPanel #op2 [showCloseIcon]="true" [dismissable]="false"> - <p-table [value]="cars1" [style]="{width: '500px'}"> + <p-table [value]="cars1" [style]="{width: '500px'} [paginator]="true" [rows]="5""> <ng-template pTemplate="header"> <tr> <th pSortableColumn="vin">Vin <p-sortIcon field="vin"></p-sortIcon></th> diff --git a/src/assets/components/themes/luna-amber/theme.css b/src/assets/components/themes/luna-amber/theme.css index 7773d3be3b6..8b410a1ced6 100644 --- a/src/assets/components/themes/luna-amber/theme.css +++ b/src/assets/components/themes/luna-amber/theme.css @@ -475,9 +475,6 @@ body { transition: color 0.2s; } body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:hover { color: #dedede; } - body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:focus { - outline: 0 none; - color: #dedede; } body .ui-multiselect-panel .ui-multiselect-items { padding: 0; } body .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item { diff --git a/src/assets/components/themes/luna-blue/theme.css b/src/assets/components/themes/luna-blue/theme.css index 6624dda839f..5cfdc36a0a5 100644 --- a/src/assets/components/themes/luna-blue/theme.css +++ b/src/assets/components/themes/luna-blue/theme.css @@ -475,9 +475,6 @@ body { transition: color 0.2s; } body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:hover { color: #dedede; } - body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:focus { - outline: 0 none; - color: #dedede; } body .ui-multiselect-panel .ui-multiselect-items { padding: 0; } body .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item { diff --git a/src/assets/components/themes/luna-green/theme.css b/src/assets/components/themes/luna-green/theme.css index 4d2087b6e16..5977e720cea 100644 --- a/src/assets/components/themes/luna-green/theme.css +++ b/src/assets/components/themes/luna-green/theme.css @@ -475,9 +475,6 @@ body { transition: color 0.2s; } body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:hover { color: #dedede; } - body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:focus { - outline: 0 none; - color: #dedede; } body .ui-multiselect-panel .ui-multiselect-items { padding: 0; } body .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item { diff --git a/src/assets/components/themes/luna-pink/theme.css b/src/assets/components/themes/luna-pink/theme.css index 2f742a2eb5f..f330b6e3563 100644 --- a/src/assets/components/themes/luna-pink/theme.css +++ b/src/assets/components/themes/luna-pink/theme.css @@ -475,9 +475,6 @@ body { transition: color 0.2s; } body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:hover { color: #dedede; } - body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:focus { - outline: 0 none; - color: #dedede; } body .ui-multiselect-panel .ui-multiselect-items { padding: 0; } body .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item { diff --git a/src/assets/components/themes/nova-colored/theme.css b/src/assets/components/themes/nova-colored/theme.css index 7b3533203ab..5d9a53345dc 100644 --- a/src/assets/components/themes/nova-colored/theme.css +++ b/src/assets/components/themes/nova-colored/theme.css @@ -475,9 +475,6 @@ body { transition: color 0.2s; } body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:hover { color: #333333; } - body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:focus { - outline: 0 none; - color: #333333; } body .ui-multiselect-panel .ui-multiselect-items { padding: 0; } body .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item { diff --git a/src/assets/components/themes/nova-dark/theme.css b/src/assets/components/themes/nova-dark/theme.css index 961c4060b38..aa9985f7d0b 100644 --- a/src/assets/components/themes/nova-dark/theme.css +++ b/src/assets/components/themes/nova-dark/theme.css @@ -475,9 +475,6 @@ body { transition: color 0.2s; } body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:hover { color: #333333; } - body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:focus { - outline: 0 none; - color: #333333; } body .ui-multiselect-panel .ui-multiselect-items { padding: 0; } body .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item { diff --git a/src/assets/components/themes/nova-light/theme.css b/src/assets/components/themes/nova-light/theme.css index bb94b53b89d..1f48d0ca58a 100644 --- a/src/assets/components/themes/nova-light/theme.css +++ b/src/assets/components/themes/nova-light/theme.css @@ -475,9 +475,6 @@ body { transition: color 0.2s; } body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:hover { color: #333333; } - body .ui-multiselect-panel .ui-multiselect-header .ui-multiselect-close:focus { - outline: 0 none; - color: #333333; } body .ui-multiselect-panel .ui-multiselect-items { padding: 0; } body .ui-multiselect-panel .ui-multiselect-items .ui-multiselect-item {