3 Replies Latest reply: Jul 2, 2013 9:17 AM by a5a32235-d4b2-4cc3-a89f-be10245d7eea RSS

    3.2 - APEX: Override fieldset attribute for date_popup item to use <label for= ""> for 508 compliance

    a5a32235-d4b2-4cc3-a89f-be10245d7eea

      Hello,

       

      I am currently on Oracle APEX 3.2 and have no ability to upgrade anytime soon.

       

      Our application must be 508 compliant and am running into the issue of the date_popup field displaying a <fieldset id=""> attribute rather than a <label for =""> <id =""> attribute.

       

      The code I am using is

       

      htp.p(tr_begin);

      gen_prompt(rec.display_nm, rec.require_ind);

      htp.p(td_begin);

      htp.p(HTMLDB_ITEM.DATE_POPUP(

      p_idx => rec.seq_id

      p_row => rec.seq_id,

      p_value => lp_value

      p_date_format => lp_date_format,

      p_size => lp_field_size,

      p_maxlength => lp_maxlength,

      p_attributes => rec.html_attributes,

      p_item_id =>rec.column_nm

      'datepicker_'||rownum

       

      and received this error: function or pseudo-column 'ROWNUM' may be used inside a SQL statement only

       

      I have tried replacing the last line with

      p_item_label => 'datepicker_'||rownum

       

      but I continue to see the same error

       

      I have also replaced the last line

      p_item_label = rec.display_nm

       

      but I continue to see the fieldset id attribute when scanning the page with the 508 tool.

       

      In other items such as text fields, if I use the

      p_item_label => rec.display_nm

       

      It displays the label for attribute fine.  I think the fieldset attribute only affects certain items such as date_popup, checkbox, and shuttle widget?

       

       

      I was reading over this question from about 5 years ago:

      https://forums.oracle.com/thread/634211

       

      and wasn't able to use the workaround they provided.

       

      Can anyone help??