-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into meter-group
- Loading branch information
Showing
818 changed files
with
16,776 additions
and
9,235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ C:\primereact> npm run dev:link:windows | |
|
||
This will alter the bundler to only emit non-minified esm modules. The aliasing plugin has also been disabled for components. Once everything has been bundled (this can take a few minutes) you should keep this command running. It will allow for incremental builds as you develop in the `primereact/` directory. | ||
|
||
> **Note** | ||
> [!NOTE] | ||
> It will be finished when the terminal displays: `[20xx-xx-xx 00:00:00] waiting for changes...`. | ||
You will now `cd` into the `primereact/dist` directory and run: | ||
|
@@ -41,7 +41,7 @@ This will create a symlink in your global npm scope so that other local packages | |
└── [email protected] -> ./../../../Users/${user}/primereact/dist # <-- this must be in the dist/ dir !!! | ||
``` | ||
|
||
> **Warning** | ||
> [!WARNING] | ||
> Reminder! the XX.X.XX version must be a valid [valid semantic version](https://docs.npmjs.com/about-semantic-versioning) that you are using in your local project | ||
### Now change your directory to your local project you are developing on! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,78 @@ | ||
import { DevelopmentSection } from '@/components/doc/common/developmentsection'; | ||
import { DocSectionText } from '@/components/doc/common/docsectiontext'; | ||
|
||
export function AccessibilityDoc() { | ||
return ( | ||
<DevelopmentSection> | ||
<DocSectionText id="accessibility" label="Accessibility"> | ||
<h3>Screen Reader</h3> | ||
<p> | ||
Accordion header elements have a <i>button</i> role and use <i>aria-controls</i> to define the id of the content section along with <i>aria-expanded</i> for the visibility state. The value to read a header element defaults to the | ||
value of the <i>header</i> property and can be customized by defining an <i>aria-label</i> or <i>aria-labelledby</i> via the <i>headerProps</i> property. | ||
</p> | ||
<p> | ||
The content uses <i>region</i> role, defines an id that matches the <i>aria-controls</i> of the header and <i>aria-labelledby</i> referring to the id of the header. | ||
</p> | ||
<DocSectionText id="accessibility" label="Accessibility"> | ||
<h3>Screen Reader</h3> | ||
<p> | ||
Accordion header elements have a <i>button</i> role and use <i>aria-controls</i> to define the id of the content section along with <i>aria-expanded</i> for the visibility state. The value to read a header element defaults to the | ||
value of the <i>header</i> property and can be customized by defining an <i>aria-label</i> or <i>aria-labelledby</i> via the <i>headerProps</i> property. | ||
</p> | ||
<p> | ||
The content uses <i>region</i> role, defines an id that matches the <i>aria-controls</i> of the header and <i>aria-labelledby</i> referring to the id of the header. | ||
</p> | ||
|
||
<h3>Header Keyboard Support</h3> | ||
<div className="doc-tablewrapper"> | ||
<table className="doc-table"> | ||
<thead> | ||
<tr> | ||
<th>Key</th> | ||
<th>Function</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<i>tab</i> | ||
</td> | ||
<td>Moves focus to the next the focusable element in the page tab sequence.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>shift</i> + <i>tab</i> | ||
</td> | ||
<td>Moves focus to the previous the focusable element in the page tab sequence.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>enter</i> | ||
</td> | ||
<td>Toggles the visibility of the content.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>space</i> | ||
</td> | ||
<td>Toggles the visibility of the content.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>down arrow</i> | ||
</td> | ||
<td>Moves focus to the next header.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>up arrow</i> | ||
</td> | ||
<td>Moves focus to the previous header.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>home</i> | ||
</td> | ||
<td>Moves focus to the first header.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>end</i> | ||
</td> | ||
<td>Moves focus to the last header.</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</DocSectionText> | ||
</DevelopmentSection> | ||
<h3>Header Keyboard Support</h3> | ||
<div className="doc-tablewrapper"> | ||
<table className="doc-table"> | ||
<thead> | ||
<tr> | ||
<th>Key</th> | ||
<th>Function</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td> | ||
<i>tab</i> | ||
</td> | ||
<td>Moves focus to the next the focusable element in the page tab sequence.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>shift</i> + <i>tab</i> | ||
</td> | ||
<td>Moves focus to the previous the focusable element in the page tab sequence.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>enter</i> | ||
</td> | ||
<td>Toggles the visibility of the content.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>space</i> | ||
</td> | ||
<td>Toggles the visibility of the content.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>down arrow</i> | ||
</td> | ||
<td>Moves focus to the next header.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>up arrow</i> | ||
</td> | ||
<td>Moves focus to the previous header.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>home</i> | ||
</td> | ||
<td>Moves focus to the first header.</td> | ||
</tr> | ||
<tr> | ||
<td> | ||
<i>end</i> | ||
</td> | ||
<td>Moves focus to the last header.</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</DocSectionText> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.