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/floating-action-button/accessibility.md
+19-18Lines changed: 19 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,54 +9,55 @@ documentation: ug
9
9
10
10
# Accessibility in Blazor Floating Action Button component
11
11
12
-
The Blazor Floating Action Button 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 Floating Action Button 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 Floating Action Button component is outlined below.
<div><imgsrc="https://cdn.syncfusion.com/content/images/documentation/full.png"alt="Yes"> - All features of the component meet the requirement.</div>
33
+
<div><imgsrc="https://cdn.syncfusion.com/content/images/documentation/full.png"alt="Supported"> - All features of the component meet the requirement.</div>
34
34
35
-
<div><imgsrc="https://cdn.syncfusion.com/content/images/documentation/partial.png"alt="Intermediate"> - Some features of the component do not meet the requirement.</div>
35
+
<div><imgsrc="https://cdn.syncfusion.com/content/images/documentation/partial.png"alt="Partially supported"> - Some features of the component do not fully meet the requirement.</div>
36
36
37
-
<div><imgsrc="https://cdn.syncfusion.com/content/images/documentation/not-supported.png"alt="No"> - The component does not meet the requirement.</div>
37
+
<div><imgsrc="https://cdn.syncfusion.com/content/images/documentation/not-supported.png"alt="Not supported"> - The component does not meet the requirement.</div>
38
38
39
39
## WAI-ARIA attributes
40
40
41
-
The Blazor Floating action button component followed the [WAI-ARIA](https://www.w3.org/WAI/ARIA/apg/patterns/button/)patterns to meet the accessibility. The following ARIA attributes are used in the Blazor Floating action button component:
41
+
The Blazor Floating Action Button component follows the [WAI-ARIA button pattern](https://www.w3.org/WAI/ARIA/apg/patterns/button/) to meet accessibility requirements. The following ARIA attribute is used in the Blazor Floating Action Button component:
42
42
43
43
| Attributes | Purpose |
44
44
| --- | --- |
45
-
|`aria-label`| Provides an accessible name for the icononly floating action button. |
45
+
|`aria-label`| Provides an accessible name for an icon-only floating action button. |
46
46
47
47
## Keyboard interaction
48
48
49
-
The Blazor Floating action button component followed the [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/button/#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 Floating action button component.
49
+
The Blazor Floating Action Button component follows the [keyboard interaction](https://www.w3.org/WAI/ARIA/apg/patterns/button/#keyboardinteraction) guideline, making it accessible to people who use assistive technologies and those who rely on keyboard navigation. The following keyboard shortcuts are supported by the Blazor Floating Action Button component.
50
+
50
51
51
52
| Windows | Mac | Actions |
52
53
| --- | --- | --- |
53
-
| <kbd>Space</kbd> | <kbd>Space</kbd> | When the floating action button has focus, pressing the space key changes the state of the floating action button. |
54
+
| <kbd>Space</kbd> | <kbd>Space</kbd> | When the floating action button has focus, activates the button (fires click). |
54
55
55
56
## Ensuring accessibility
56
57
57
-
The Blazor Floating Action Button component's accessibility levels are ensured through an [axe-core](https://www.nuget.org/packages/Deque.AxeCore.Playwright) with playwright tests.
58
+
The Blazor Floating Action Button component's accessibility levels are ensured through [axe-core](https://www.nuget.org/packages/Deque.AxeCore.Playwright) with Playwright tests.
58
59
59
-
The accessibility compliance of the Blazor Floating Action Button component is shown in the following sample. Open the [sample](https://blazor.syncfusion.com/accessibility/fab) in a new window to evaluate the accessibility of the Blazor Floating action button component with accessibility tools.
60
+
The accessibility compliance of the Blazor Floating Action Button component is shown in the following sample. Open the [sample](https://blazor.syncfusion.com/accessibility/fab) in a new window to evaluate the accessibility of the Blazor Floating Action Button component with accessibility tools.
Copy file name to clipboardExpand all lines: blazor/floating-action-button/events.md
+4-7Lines changed: 4 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,11 +9,11 @@ documentation: ug
9
9
10
10
# Events in Floating Action Button Component
11
11
12
-
This section explains the available events in Floating Action Button Component.
12
+
This section explains the events available in the Floating Action Button component. The following events are covered: Created and OnClick.
13
13
14
14
## Created
15
15
16
-
Event triggers after the creation of Floating Action Button.
16
+
Raised after the Floating Action Button has been created and its initial rendering is complete. Use this event to run setup logic or access the component once it is available in the UI.
17
17
18
18
```cshtml
19
19
@@ -32,7 +32,7 @@ Event triggers after the creation of Floating Action Button.
32
32
33
33
## OnClick
34
34
35
-
Event triggers when the Floating Action Button is clicked. Below example shows the Click event of the Floating Action Button.
35
+
Raised when the Floating Action Button is activated by a user action, including mouse click, keyboard activation (Enter/Space), or touch. The example below demonstrates handling the click event.
36
36
37
37
```cshtml
38
38
@@ -52,7 +52,4 @@ Event triggers when the Floating Action Button is clicked. Below example shows t
0 commit comments