A developer has choice to show error messages as a summary at top of a form. Similarly, a developer can also choose to show the error messages in-line. There could also be possibilities where both summary and in-line error messages are shown for better accessibility. To be able to have complete accessibility, we need to cater to all these 3 scenarios. Currently we are being able to cater to only one which is error summary.
In this particular issue, we need to assume a scenario where developer has chosen to show the error message as in-line and not to show it as a summary. To cater to showing both summary and in-line error messages, we will open a separate issue.
A developer has choice to show error messages as a summary at top of a form. Similarly, a developer can also choose to show the error messages in-line. There could also be possibilities where both summary and in-line error messages are shown for better accessibility. To be able to have complete accessibility, we need to cater to all these 3 scenarios. Currently we are being able to cater to only one which is error summary. In this particular issue, we need to assume a scenario where developer has chosen to show the error message as in-line and not to show it as a summary. To cater to showing both summary and in-line error messages, we will open a separate issue.