forked from cerner/terra-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[terra-form-fieldset]fix for aria-labelledby (cerner#3720)
* first comit * Chnagelog * ChangeLog * Wdio * wdio Update * ChangeLog * jest Snap Update * Revert "jest Snap Update" This reverts commit a64d4bd.
- Loading branch information
1 parent
177f6bf
commit ddcaa6b
Showing
7 changed files
with
66 additions
and
1 deletion.
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
23 changes: 23 additions & 0 deletions
23
...core-docs/src/terra-dev-site/test/form-fieldset/FieldsetWithoutLegendAndHelptext.test.jsx
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from 'react'; | ||
import Field from 'terra-form-field'; | ||
import Input from 'terra-form-input'; | ||
import Fieldset from 'terra-form-fieldset'; | ||
|
||
const fieldsetwithouthiddenlegendandhelptext = () => ( | ||
<Fieldset | ||
required | ||
isLegendHidden | ||
> | ||
<Field label="First" isInline required htmlFor="first"> | ||
<Input id="first" type="text" name="first" defaultValue="" /> | ||
</Field> | ||
<Field label="Middle" isInline required htmlFor="middle"> | ||
<Input id="middle" type="text" name="middle" defaultValue="" /> | ||
</Field> | ||
<Field label="Last" isInline required htmlFor="last"> | ||
<Input id="last" type="text" name="last" defaultValue="" /> | ||
</Field> | ||
</Fieldset> | ||
); | ||
|
||
export default fieldsetwithouthiddenlegendandhelptext; |
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