You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blazor/color-picker/accessibility.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ documentation: ug
9
9
10
10
# Accessibility in Blazor Color Picker Component
11
11
12
-
The Blazor Color Picker component followed the accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility.
12
+
The Blazor Color Picker component follows accessibility guidelines and standards, including [ADA](https://www.ada.gov/), [Section 508](https://www.section508.gov/), [WCAG 2.2](https://www.w3.org/TR/WCAG22/) standards, and [WCAG roles](https://www.w3.org/TR/wai-aria/#roles) that are commonly used to evaluate accessibility.
13
13
14
14
The accessibility compliance for the Blazor Color Picker component is outlined below.
15
15
@@ -39,36 +39,36 @@ The accessibility compliance for the Blazor Color Picker component is outlined b
39
39
40
40
## WAI-ARIA attributes
41
41
42
-
The Blazor Color Picker component followed the [WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/alert/) patterns to meet the accessibility. The following ARIA attributes are used in the Blazor ColorPicker component:
42
+
The Blazor Color Picker component follows [WAI-ARIA](https://www.w3.org/WAI/ARIA/) practices to support assistive technologies. The following ARIA attributes are used in the Blazor Color Picker component:
43
43
44
44
| Attributes | Purpose |
45
45
| --- | --- |
46
-
|`role`|Indicates the Color Picker component as `color`and the tiles as`gridcell`in the color palette. |
47
-
|`aria-label`|Indicates the accessible name for the tiles. |
48
-
|`aria-selected`| Indicates the current selected state of the tile. |
49
-
|`aria-haspopup`| Indicates the availability of the popup element. |
50
-
|`aria-expanded`| Indicates whether the popup can be expanded or collapsed, as well as indicates whether its current state is expanded or collapsed. |
51
-
|`aria-owns`|Identifies an elements in order to define a visual, functional, or contextual parent/child relationship between DOM elements where the DOM hierarchy cannot be used to represent the relationship. |
52
-
|`aria-disabled`|Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. |
46
+
|`role`|Identifies interactive elements (for example, `grid` for the palette and`gridcell`for tiles) to convey structure to assistive technologies. |
47
+
|`aria-label`|Provides accessible names for interactive elements such as tiles and buttons. |
48
+
|`aria-selected`| Indicates the current selection state of a tile in the palette. |
49
+
|`aria-haspopup`| Indicates the availability of the popup element when applicable. |
50
+
|`aria-expanded`| Indicates whether the popup is currently expanded or collapsed. |
51
+
|`aria-owns`|Establishes relationships between popup and trigger elements when DOM hierarchy alone is insufficient. |
52
+
|`aria-disabled`|Conveys that the element is disabled and not operable. |
53
53
54
54
## Keyboard interaction
55
55
56
-
The Blazor Color Picker component followed the [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction) guideline, making it easy for people who use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the Blazor ColorPicker component.
56
+
The Blazor Color Picker component followed the [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/alert/#keyboardinteraction) guideline, making it easy for use assistive technologies (AT) and those who completely rely on keyboard navigation. The following keyboard shortcuts are supported by the Blazor ColorPicker component.
57
57
58
58
| Windows | Mac | Actions |
59
59
| --- | --- | --- |
60
60
| <kbd>↑</kbd> | <kbd>↑</kbd> | Moves the handler/tile up from the current position. |
61
61
| <kbd>↓</kbd> | <kbd>↓</kbd> | Moves the handler/tile down from the current position. |
62
62
| <kbd>←</kbd> | <kbd>←</kbd> | Moves the handler/tile left from the current position. |
63
63
| <kbd>→</kbd> | <kbd>→</kbd> | Moves the handler/tile right from the current position. |
64
-
| <kbd>Enter</kbd> | <kbd>Enter</kbd> |Apply the selected color value. |
65
-
| <kbd>Tab</kbd> | <kbd>Tab</kbd> |To focus the next focusable element in the ColorPicker popup. |
64
+
| <kbd>Enter</kbd> | <kbd>Enter</kbd> |Applies the selected color value. |
65
+
| <kbd>Tab</kbd> | <kbd>Tab</kbd> |Moves focus to the next focusable element in the Color Picker popup. |
66
66
67
67
## Ensuring accessibility
68
68
69
-
The Blazor Color Picker component's accessibility levels are ensured through an [axe-core](https://www.nuget.org/packages/Deque.AxeCore.Playwright)with playwright tests.
69
+
The Blazor Color Picker component's accessibility levels are validated with [axe-core](https://www.nuget.org/packages/Deque.AxeCore.Playwright)using Playwright-based tests.
70
70
71
-
The accessibility compliance of the Blazor Color Picker component is shown in the following sample. Open the [sample](https://blazor.syncfusion.com/accessibility/color-picker) in a new window to evaluate the accessibility of the Color Picker Blazor component with accessibility tools.
71
+
The accessibility compliance of the Blazor Color Picker component is demonstrated in the following sample. Open the [sample](https://blazor.syncfusion.com/accessibility/color-picker) in a new window to evaluate the component with accessibility tools.
Copy file name to clipboardExpand all lines: blazor/color-picker/getting-started-with-web-app.md
+16-17Lines changed: 16 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,13 @@ layout: post
3
3
title: Getting Started with Syncfusion Blazor ColorPicker Component in WebApp
4
4
description: Checkout and learn about the documentation for getting started with Blazor ColorPicker Component in Blazor Web App.
5
5
platform: Blazor
6
-
component: ColorPicker
6
+
control: Color Picker
7
7
documentation: ug
8
8
---
9
9
10
10
# Getting Started with Blazor ColorPicker Component in Web App
11
11
12
-
This section briefly explains about how to include [Blazor ColorPicker](https://www.syncfusion.com/blazor-components/blazor-color-picker) component in your Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/) and Visual Studio Code.
12
+
This section explains how to include the [Blazor ColorPicker](https://www.syncfusion.com/blazor-components/blazor-color-picker) component in a Blazor Web App using [Visual Studio](https://visualstudio.microsoft.com/vs/) and Visual Studio Code.
13
13
14
14
{% tabcontents %}
15
15
@@ -21,17 +21,17 @@ This section briefly explains about how to include [Blazor ColorPicker](https://
21
21
22
22
## Create a new Blazor Web App in Visual Studio
23
23
24
-
You can create a **Blazor Web App** using Visual Studio 2022 via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vs) or the [Syncfusion<supstyle="font-size:70%">®</sup> Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio).
24
+
Create a **Blazor Web App** using Visual Studio 2022 via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vs) or the [Syncfusion<supstyle="font-size:70%">®</sup> Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-integration/template-studio).
25
25
26
-
You need to configure the corresponding[Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vs)while creating a Blazor Web Application.
26
+
Configure the appropriate[Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vs)when creating the Blazor Web App.
27
27
28
28
## Install Syncfusion<supstyle="font-size:70%">®</sup> Blazor Inputs and Themes NuGet in the Blazor Web App
29
29
30
-
To add **Blazor ColorPicker** component in the app, open the NuGet package manager in Visual Studio (*Tools → NuGet Package Manager → Manage NuGet Packages for Solution*), search and install [Syncfusion.Blazor.Inputs](https://www.nuget.org/packages/Syncfusion.Blazor.Inputs/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/).
30
+
To add the **Blazor ColorPicker** component, open the NuGet Package Manager in Visual Studio (Tools → NuGet Package Manager → Manage NuGet Packages for Solution), then search for and install [Syncfusion.Blazor.Inputs](https://www.nuget.org/packages/Syncfusion.Blazor.Inputs/) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/).
31
31
32
-
If you utilize `WebAssembly or Auto` render modes in the Blazor Web App need to be install Syncfusion<supstyle="font-size:70%">®</sup> Blazor components NuGet packages within the client project.
32
+
If using `WebAssembly` or `Auto` render modes in a Blazor Web App, install Syncfusion<supstyle="font-size:70%">®</sup> Blazor component NuGet packages in the Client project.
33
33
34
-
Alternatively, you can utilize the following package manager command to achieve the same.
34
+
Alternatively, run the following Package Manager commands:
N> Syncfusion<supstyle="font-size:70%">®</sup> Blazor components are available in[nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). Refer to [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for available NuGet packages list with component details.
45
+
N> Syncfusion<supstyle="font-size:70%">®</sup> Blazor components are available on[nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). Refer to the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for the list of available packages and component details.
## Create a new Blazor Web App in Visual Studio Code
56
56
57
-
You can create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vsc) or the [Syncfusion<supstyle="font-size:70%">®</sup> Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project).
57
+
Create a **Blazor Web App** using Visual Studio Code via [Microsoft Templates](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vsc) or the [Syncfusion<supstyle="font-size:70%">®</sup> Blazor Extension](https://blazor.syncfusion.com/documentation/visual-studio-code-integration/create-project).
58
58
59
-
You need to configure the corresponding[Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vsc)while creating a Blazor Web Application.
59
+
Configure the appropriate[Interactive render mode](https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#render-modes) and [Interactivity location](https://learn.microsoft.com/en-us/aspnet/core/blazor/tooling?view=aspnetcore-8.0&pivots=vsc)when creating the Blazor Web App.
60
60
61
61
For example, in a Blazor Web App with the `Auto` interactive render mode, use the following commands.
62
62
@@ -74,11 +74,11 @@ N> For more information on creating a **Blazor Web App** with various interactiv
74
74
75
75
## Install Syncfusion<supstyle="font-size:70%">®</sup> Blazor Inputs and Themes NuGet in the App
76
76
77
-
If you utilize `WebAssembly` or `Auto` render modes in the Blazor Web App need to be install Syncfusion<supstyle="font-size:70%">®</sup> Blazor components NuGet packages within the client project.
77
+
If using `WebAssembly` or `Auto` render modes in a Blazor Web App, install Syncfusion<supstyle="font-size:70%">®</sup> Blazor component NuGet packages in the Client project.
78
78
79
79
* Press <kbd>Ctrl</kbd>+<kbd>`</kbd> to open the integrated terminal in Visual Studio Code.
80
-
* Ensure you’re in the project root directory where your`.csproj` file is located.
81
-
* Run the following command to install a [Syncfusion.Blazor.Inputs](https://www.nuget.org/packages/Syncfusion.Blazor.Inputs) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/) NuGet package and ensure all dependencies are installed.
80
+
* Ensure the terminal is at the project root directory where the`.csproj` file is located.
81
+
* Run the following commands to install [Syncfusion.Blazor.Inputs](https://www.nuget.org/packages/Syncfusion.Blazor.Inputs) and [Syncfusion.Blazor.Themes](https://www.nuget.org/packages/Syncfusion.Blazor.Themes/), and restore dependencies.
82
82
83
83
{% tabs %}
84
84
@@ -92,7 +92,7 @@ dotnet restore
92
92
93
93
{% endtabs %}
94
94
95
-
N> Syncfusion<supstyle="font-size:70%">®</sup> Blazor components are available in[nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). Refer to [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for available NuGet packages list with component details.
95
+
N> Syncfusion<supstyle="font-size:70%">®</sup> Blazor components are available on[nuget.org](https://www.nuget.org/packages?q=syncfusion.blazor). Refer to the [NuGet packages](https://blazor.syncfusion.com/documentation/nuget-packages) topic for the list of available packages and component details.
| WebAssembly or Auto | Open **~/_Imports.razor** file from the client project.|
106
-
| Server | Open **~/_import.razor** file, which is located in the `Components` folder.|
106
+
| Server | Open **~/_Imports.razor** file, which is located in the `Components` folder.|
107
107
108
108
Import the `Syncfusion.Blazor` and `Syncfusion.Blazor.Inputs` namespace.
109
109
@@ -231,5 +231,4 @@ N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-
231
231
232
232
1.[Getting Started with Syncfusion<supstyle="font-size:70%">®</sup> Blazor for client-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-dotnet-cli)
233
233
2.[Getting Started with Syncfusion<supstyle="font-size:70%">®</sup> Blazor for client-side in Visual Studio](https://blazor.syncfusion.com/documentation/getting-started/blazor-webassembly-visual-studio)
234
-
3.[Getting Started with Syncfusion<supstyle="font-size:70%">®</sup> Blazor for server-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-dotnet-cli)
235
-
234
+
3.[Getting Started with Syncfusion<supstyle="font-size:70%">®</sup> Blazor for server-side in .NET Core CLI](https://blazor.syncfusion.com/documentation/getting-started/blazor-server-side-dotnet-cli)
0 commit comments