File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
NHSUKViewComponents.Web/Views/Shared/Components/RadioList Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 6565 aria - describedby = " @(!string.IsNullOrEmpty(radio.HintText) ? $" {radio .Value }- item - hint " : string.Empty)"
6666 data - val - required = " @(Model.Required ? Model.RequiredClientSideErrorMessage : " " )"
6767 data - val = " @(Model.Required ? " true " : " false " )"
68+ aria - invalid = " @(Model.Required ? " true " : " false " )"
6869 @(radio .Selected ? " checked" : string .Empty ) / >
6970 < label class = " nhsuk-label nhsuk-radios__label" for = " @radioId" >
7071 @radio .Label
8990 aria-describedby =" @(!string.IsNullOrEmpty(radio.HintText) ? $" {radio.Value}-item-hint " : string.Empty)"
9091 data-val-required =" @(Model.Required ? Model.RequiredClientSideErrorMessage : " " )"
9192 data-val =" @(Model.Required ? " true " : " false " )"
93+ aria-invalid =" @(Model.Required ? " true " : " false " )"
9294 @(radio.Selected ? " checked" : string.Empty) />
9395 <label class =" nhsuk-label nhsuk-radios__label" for =" @radioId" >
9496 @radio.Label
You can’t perform that action at this time.
0 commit comments