Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

af:inputtext with simple attribute shows accessibility error

Kani-OracleJul 20 2021 — edited Jul 20 2021

I have an input text field for which label should not be displayed.So,i am using 'simple' property.Following is the code snippet.
<af:inputText id="itExpressionText" rows="30" readOnly="true" simple="true"/>
Functionally this works fine.
But when i run OATB to fix the accessibility issues,'Label/Form' section throws 'Error: Ensures every form element has a label' error.How should this be handled ?

Comments

Timo Hahn

USer, tell us your exact JDev version, please!
OATB?
What exactly you are talking about?

Have you checked the release notes? There are some versions that have some problems with accessibility.

Timo

Kani-Oracle

Thanks for your response.
We are on ADF 12.2.1.4 .We are testing our application for VPAT compliance.For testing , we are using OATB (Oracle Accessibility ToolBar).
For inputText component , we are setting the 'simple' property to true.As per the doc, 'simple' property is explained as 'a boolean value that controls whether the component provides label support; when set to "true", the component will not display the label (these may be ignored: label, labelAndAccessKey, accessKey, showRequired, help facet) and may use simpler layout primitives.'
So using simple='true' doesnot display the label in the UI.This is working as expected.Even OATB does not throw error at this stage.
Now if set readonly='true',then OATB starts throwing 'Error: Ensures every form element has a label' error.
How should this be handled ?

Timo Hahn

So this isn't a JDev or ADF problem but a problem with OATB.
As I don't know anything about OATB, I guess it's nothing the public has access to. You should use an internal forum to ask your question.

Timo

Kani-Oracle

Thanks for your response.

1 - 4

Post Details

Added on Jul 20 2021
4 comments
142 views