Forum Stats

  • 3,741,232 Users
  • 2,248,397 Discussions
  • 7,861,693 Comments

Discussions

af:inputtext with simple attribute shows accessibility error

Kani-Oracle
Kani-Oracle Member Posts: 39 Employee
edited Jul 20, 2021 10:52AM in JDeveloper and ADF

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 ?

Answers

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 37,247 Red Diamond

    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
    Kani-Oracle Member Posts: 39 Employee
    edited Jul 21, 2021 6:18AM

    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
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 37,247 Red Diamond

    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
    Kani-Oracle Member Posts: 39 Employee

    Thanks for your response.

Sign In or Register to comment.