3 Replies Latest reply on Mar 26, 2010 4:49 AM by craig12980

    RichFaces and WAI-ARIA specifications

    craig12980

      Hi

       

      I'ld love to know if there is some integration/extension to satisfy the WAI-ARIA specifications.

      Infact in my country (Italy) we need to build applications that can work also when the client has the Javascript disabled (or client web browser doesn't support the Javascript)

      I was thinking how much can be the effort to extend RichFaces components to give same funcionalities also when javascripts are disabled

       

      Best regards,

      Angelo

        • 1. Re: RichFaces and WAI-ARIA specifications
          nbelaevski

          Hi Angelo,

           

          Here is the alike thread: http://community.jboss.org/message/522058#522058 , but there's not much useful information.

          Please note two things:

           

          1) Some JSF standard components (e.g. h:commandLink) require JS

          2) AJAX won't work without JS

           

          P.S. For future discussion I've linked this forum thread as comment here: http://community.jboss.org/wiki/RichFaces40ComponentRelatedTopics#cf .

          • 2. Re: RichFaces and WAI-ARIA specifications
            jbalunas

            Hi Angelo,

             

            Nick is completely correct,  many JSF components require JavaScript, especially in a rich component library set.

             

            We discussed this, and we'll add this to an accessibility planning page.  We'll review and discuss if/how something like JS disabled option could be supported.

             

            Thanks,

            Jay

             

            PS: Italy - PLEASE REPEAL YOUR "LEGGE STANCA" LAW!!!!  It is now the year 2010....

            • 3. Re: RichFaces and WAI-ARIA specifications
              craig12980

              Hi

              First of all thank you of your answers.

               

              Anyway i was thinking about to do a thing like this: if the browser supports JavaScrip or has JavaScript enabled we will use JavaScript; if the browser doesn't support JS or has JS disabled the JSF tag write a noscript tag where it can offer a similar function.

              Let's consider the suggestion box; the classical behaviour can be leaved when the browser supports JS or has JS enabled; when the JS are disabled or the browser doesn't suport JS we can thing to generate a noscrpit tag where there is an input text and a button; the user can click the button, submti the full page and then the result is the searched elements.

              This can be the solution for the autocmplete; honestly i can't imagine any other solution for drag and drop and other nice richfaces components.

               

              About the legge Stanca....well if i could decide i'ld love to delete it....but it's not up to me

               

              Besta regards,

              Angelo