From bf79add6f1384045561fa383acc19b0a44e71623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Mon, 20 Nov 2023 15:20:51 +0300 Subject: [PATCH] Update Accessibility documentations & add missing props --- src/app/components/chart/chart.ts | 12 +++++++++++- .../organizationchart/organizationchart.ts | 2 +- src/app/showcase/doc/chart/accessibilitydoc.ts | 11 +++-------- src/app/showcase/doc/dataview/accessibilitydoc.ts | 5 ++--- src/app/showcase/doc/dialog/accessibilitydoc.ts | 9 ++++----- src/app/showcase/doc/dock/accessibilitydoc.ts | 5 ++--- src/app/showcase/doc/orderlist/accessibilitydoc.ts | 9 ++++----- .../doc/organizationchart/accessibilitydoc.ts | 5 ++--- src/app/showcase/doc/overlay/accessibilitydoc.ts | 5 ++--- src/app/showcase/doc/paginator/accessibilitydoc.ts | 5 ++--- src/app/showcase/doc/picklist/accessibilitydoc.ts | 11 +++++------ src/app/showcase/doc/scroller/accessibilitydoc.ts | 5 ++--- src/app/showcase/doc/timeline/accessibilitydoc.ts | 5 ++--- src/app/showcase/doc/tree/accessibilitydoc.ts | 5 ++--- src/app/showcase/doc/treeselect/accessibilitydoc.ts | 11 +++++------ .../showcase/doc/virtualscroller/accessibilitydoc.ts | 5 ++--- 16 files changed, 51 insertions(+), 59 deletions(-) diff --git a/src/app/components/chart/chart.ts b/src/app/components/chart/chart.ts index 80ef6d465a5..2a364f11f9d 100755 --- a/src/app/components/chart/chart.ts +++ b/src/app/components/chart/chart.ts @@ -9,7 +9,7 @@ import Chart from 'chart.js/auto'; selector: 'p-chart', template: `
Content
@@ -104,8 +104,7 @@ import { Code } from '../../domain/code'; -
@@ -34,8 +34,7 @@ import { Component, Input } from '@angular/core'; -
Refer to the dropdown documentation for more details about keyboard support.
- Value to describe the source listbox and target listbox can be provided with sourceListProps and targetListProps by passing aria-labelledby or aria-label props. The list elements has a listbox role + Value to describe the source listbox and target listbox can be provided with ariaLabelledBy or ariaLabel props. The list elements has a listbox role with the aria-multiselectable attribute. Each list item has an option role with aria-selected and aria-disabled as their attributes.
@@ -104,8 +104,7 @@ import { Code } from '../../domain/code'; -
@@ -11,8 +11,7 @@ import { Component, Input } from '@angular/core';
Component does not include any built-in interactive elements.
-Timeline uses a semantic ordered list element to list the events. No specific role is enforced, still you may use any aria role and attributes as any valid attribute is passed to the list element.
Component does not include any interactive elements.
-@@ -62,8 +62,7 @@ import { Component, Input } from '@angular/core'; -
- Value to describe the component can either be provided with aria-labelledby or aria-label props. The treeselect element has a combobox role in addition to aria-haspopup and + Value to describe the component can either be provided with ariaLabelledby or ariaLabel props. The treeselect element has a combobox role in addition to aria-haspopup and aria-expanded attributes. The relation between the combobox and the popup is created with aria-controls that refers to the id of the popup.
@@ -178,8 +178,7 @@ import { Code } from '../../domain/code';
@@ -11,8 +11,7 @@ import { Component, Input } from '@angular/core';
Component does not include any built-in interactive elements.
-