Exemple #1
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.12 - Providing name, role, value information for form fields in PDF documents

      History
      Initial version
      Tingtun
      2011-11-27

      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.12",[
          'EGOVMON.A.WCAG.PDF.12'
      ], **args)
      self.title = 'Providing name, role, value information for form fields in PDF documents'
      self.description = """The objective of this technique is to ensure that assistive technologies can gather information about and interact with form controls in PDF content.
Exemple #2
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.04 - Hiding decorative images with the Artifact tag in PDF documents

      History
      Initial version
      Tingtun
      2011-11-27

      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.04",[
          'EGOVMON.A.WCAG.PDF.04'
      ], **args)
      self.title = 'Hiding decorative images with the Artifact tag in PDF documents'
      self.description = """The purpose of this technique is to show how purely decorative images in PDF documents can be marked so that they can be ignored by Assistive Technology by using the /Artifact tag. This is typically accomplished by using a tool for authoring PDF.
Exemple #3
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.06 - Using table elements for table markup in PDF Documents

      History
      Initial version
      Tingtun
      2011-11-27

      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.06",[
          'EGOVMON.A.WCAG.PDF.06'
      ], **args)
      self.title = 'Using table elements for table markup in PDF Documents'
      self.description = """The purpose of this technique is to show how tables in PDF documents can be marked up so that they are recognized by assistive technology. This is typically accomplished by using a tool for authoring PDF.
Exemple #4
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.14 - Providing running headers and footers in PDF documents

      History
      Initial version
      Tingtun
      2012-03-20

      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.14",[
          'EGOVMON.A.WCAG.PDF.14'
      ], **args)
      self.title = 'Providing running headers and footers in PDF documents'
      self.description = """The objective of this technique is to help users locate themselves in a document by providing running headers and footers via pagination artifacts. This is normally accomplished using a tool for authoring PDF.
Exemple #5
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.17 - Specifying consistent page numbering for PDF documents

      History
      Initial version
      Tingtun
      2011-11-27

      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.17",[
          'EGOVMON.A.WCAG.PDF.17'
      ], **args)
      self.title = 'Specifying consistent page numbering for PDF documents'
      self.description = """The objective of this technique is to help users locate themselves in a document by ensuring that the page numbering displayed in the PDF viewer page controls has the same page numbering as the document. For example, Adobe Acrobat Pro and Reader display page numbers in the Page Navigation toolbar. The page number format is specified by the /PageLabels entry in the Document Catalog.
Exemple #6
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.SC244 - Information about purpose of external link is available.

      History
      Initial version
      Tingtun
      2012-03-30

      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.SC244",[
          'EGOVMON.A.WCAG.PDF.11', 'EGOVMON.A.WCAG.PDF.13'
      ], **args)
      self.title = 'Information about purpose of external link is not available.'
      self.description = """
Exemple #7
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.03 - Correct tab and reading-order 

      History
      Initial version
      Tingtun
      2012-08-27

      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.03",[
          'EGOVMON.A.WCAG.PDF.03'
      ], **args)
      self.title = 'Correct tab and reading order in PDF documents'
      self.description = """
Exemple #8
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.15 - Providing submit buttons with the submit-form action in PDF forms

      History
      Initial version
      Tingtun
      2011-11-27

      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.15",[
          'EGOVMON.A.WCAG.PDF.15'
      ], **args)
      self.title = 'Providing submit buttons with the submit-form action in PDF forms'
      self.description = """The objective of this technique is to provide a mechanism that allows users to explicitly request a change of context using the submit-form action in a PDF form. The intended use of a submit button is to generate an HTTP request that submits data entered in a form, so it is an appropriate control to use for causing a change of context. In PDF documents, submit buttons are normally implemented using a tool for authoring PDF. """
Exemple #9
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.03 - PDF document does not contain structure elements.

      History
      Initial version
      UIA
      2008-10-07

      WCAG 1.0 reference: Checkpoint 3.2: Create documents that validate to published formal grammars. [Priority 2]

      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "EGOVMON.PDF.03",
                           ['EIAO.A.10.3.2.4.PDF.1.1'], **args)
        self.title = 'PDF document does not contain structure elements.'
        self.description = """Checkpoint 3.2: Create documents that validate to published formal grammars. [Priority 2]"""
Exemple #10
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.05 - PDF document does not allow assistive technologies access to extract content.

      History
      Initial version
      UIA
      2008-10-07

      WCAG 1.0 reference: Checkpoint 8.1 Make programmatic elements such as scripts and applets directly accessible or compatible with assistive technologies [Priority 1 if functionality is important and not presented elsewhere, otherwise Priority 2.]

      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "EGOVMON.PDF.05",
                           ['EIAO.A.10.8.1.4.PDF.1.1'], **args)
        self.title = 'The inspected PDF document does not allow assistive technologies access to extract content.'
        self.description = """Checkpoint 8.1 Make programmatic elements such as scripts and applets directly accessible or compatible with assistive technologies [Priority 1 if functionality is important and not presented elsewhere, otherwise Priority 2.]"""
Exemple #11
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.08 - PDF document represents a scanned image.

      History
      Initial version
      Tingtun
      2009-12-31

      WCAG 1.0 reference: Checkpoint 3.1: When an appropriate markup language exists, use markup rather than images to convey information [Priority 2].

      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "EGOVMON.PDF.08",
                           ['EIAO.A.10.3.1.4.PDF.1.1'], **args)
        self.title = 'PDF document represents a scanned image.'
        self.description = """Checkpoint 3.1: When an appropriate markup language exists, use markup rather than images to convey information [Priority 2]."""
Exemple #12
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.01 - Non-text content without Alt or ActualText attribute

      History
      Initial version
      Tingtun
      2011-11-27

      WCAG 1.0 reference: Checkpoint 1.1: Provide a text equivalent for every non-text element (e.g., via "Alt", "ActualText", or in element content). This includes: images, graphical representations of text (including symbols), image map regions, animations (e.g., animated GIFs), applets and programmatic objects, ascii art, frames, scripts, images used as list bullets, spacers, graphical buttons, sounds (played with or without user interaction), stand-alone audio files, audio tracks of video, and video. [Priority 1]

      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.01",[
          'EIAO.A.10.1.1.4.PDF.1.1','EIAO.A.10.1.1.4.PDF.2.1'
      ], **args)
      self.title = 'Applying text alternatives to images with the Alt entry in PDF documents'
      self.description = """The objective of this technique is to provide text alternatives for images via an /Alt entry in the property list for a Tag. This is normally accomplished using a tool for authoring PDF.
Exemple #13
0
    def __init__(self, awamresult, **args):
        """
      UWEM.B.10.7.5.3.HTML.DEF.1.1 - Page redirecting

      History
      Initial version
      FTB
      2006-09-28

      WCAG 1.0 reference: Checkpoint 7.5: Until user agents provide the ability to stop auto-redirect, do not use markup to redirect pages automatically. Instead, configure the server to perform redirects. [Priority 2]

      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "UWEM.B.10.7.5.3.HTML.DEF.1.1", [
            'EIAO.A.10.7.4.2.HTML.1.2',
        ], **args)
        self.title = 'The inspected (X)HTML resource uses <meta http-equiv="refresh"> to create page redirecting.'
        self.description = """Checkpoint 7.5: Until user agents provide the ability to stop auto-redirect, do not use markup to redirect pages automatically. Instead, configure the server to perform redirects. [Priority 2]"""
Exemple #14
0
    def __init__(self, awamresult, **args):
        """
      UWEM.B.10.7.4.3.HTML.DEF.1.1 - Page refreshing

      History
      Initial version
      FTB
      2006-09-28

      WCAG 1.0 reference: Checkpoint 7.4: Until user agents provide the ability to stop the refresh, do not create periodically auto-refreshing pages. [Priority 2]

      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "UWEM.B.10.7.4.3.HTML.DEF.1.1", [
            'EIAO.A.10.7.4.2.HTML.1.2',
        ], **args)
        self.title = 'The inspected (X)HTML resource uses <meta http-equiv="refresh"> to create page refreshing.'
        self.description = """Checkpoint 7.4: Until user agents provide the ability to stop the refresh, do not create periodically auto-refreshing pages. [Priority 2]"""
Exemple #15
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.09 - PDF document contains columns or other side-by-side text content
      such as tables.

      History
      Initial version
      Tingtun
      2010-04-21

      WCAG 1.0 reference: Checkpoint 10.3: Until user agents (including assistive technologies) render side-by-side text correctly, provide a linear text alternative (on the current page or some other) for all tables that lay out text in parallel, word-wrapped columns. [Priority 3]

      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "EGOVMON.PDF.09",
                           ['EIAO.A.10.10.3.4.PDF.1.1'], **args)
        self.title = 'PDF document contains columns or other side-by-side text content such as tables'
        self.description = """ Checkpoint 10.3: Until user agents (including assistive technologies) render side-by-side text correctly, provide a linear text alternative (on the current page or some other) for all tables that lay out text in parallel, word-wrapped columns. [Priority 3]"""
Exemple #16
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.11 - PDF document contains embedded multimedia
      
      History
      Initial version
      Tingtun
      2010-05-22

      WCAG 1.0 reference: No direct WCAG 1.0 reference
      WCAG 2.0 reference: No direct WCAG 2.0 reference 
      
      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "EGOVMON.PDF.11",
                           ['EIAO.A.15.3.1.4.PDF.1.1'], **args)
        self.title = 'The inspected PDF document contains embedded multimedia files or attachments'
        self.description = """EIAO checkpoint 15.3: PDF documents containing embedded multimedia files or attachments are very difficult to process by accessibile technologies. Since embedding a multmedia file or attachment overwhelms the text content with binary content, the PDF document becomes very inaccessible """
Exemple #17
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.11 - PDF document uses an obsolete, inaccessible encoding
      
      History
      Initial version
      Tingtun
      2010-05-22

      WCAG 1.0 reference: No direct WCAG 1.0 reference
      WCAG 2.0 reference: No direct WCAG 2.0 reference 
      
      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "EGOVMON.PDF.11",
                           ['EIAO.A.15.4.1.4.PDF.1.1'], **args)
        self.title = 'The inspected PDF document uses obsolete or inaccessible encoding'
        self.description = """EIAO checkpoint 15.4: Wherever possible images or other content embedded in PDF documents should try and use open/accessible encoding techniques. Use of an obsolete, closed and less accessibl encoding such as LZW encoding for images is not preferred"""
Exemple #18
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.10 - PDF document contains a form object which is not accessible
      
      History
      Initial version
      Tingtun
      2010-05-22

      WCAG 1.0 reference: No direct WCAG 1.0 reference
      WCAG 2.0 reference: Checkpoint 4.1.2
      
      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "EGOVMON.PDF.10",
                           ['EIAO.A.15.2.1.4.PDF.1.1'], **args)
        self.title = 'The inspected PDF document contains a form object which is not accessible'
        self.description = """EIAO checkpoint 15.2: Interactive form objects render a PDF document inaccessible. If a form object is embedded in a PDF document, make sure that it provides a textual representation for every input field which can be processed by accessibility technologies such as screen readers """
Exemple #19
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.01 - Non-text content without Alt or ActualText attribute

      History
      Initial version
      UIA
      2008-10-07

      WCAG 1.0 reference: Checkpoint 1.1: Provide a text equivalent for every non-text element (e.g., via "Alt", "ActualText", or in element content). This includes: images, graphical representations of text (including symbols), image map regions, animations (e.g., animated GIFs), applets and programmatic objects, ascii art, frames, scripts, images used as list bullets, spacers, graphical buttons, sounds (played with or without user interaction), stand-alone audio files, audio tracks of video, and video. [Priority 1]

      Mode: Fully automatable.
      """
        AbstractB.__init__(
            self, awamresult, "EGOVMON.PDF.01",
            ['EIAO.A.10.1.1.4.PDF.1.1', 'EIAO.A.10.1.1.4.PDF.2.1'], **args)
        self.title = 'Non-text content without Alt or ActualText attribute'
        self.description = """Checkpoint 1.1: Provide a text equivalent for every no n-text element (e.g., via "Alt", "ActualText", or in element content). This incl udes: images, graphical representations of text (including symbols), image map r egions, animations (e.g., animated GIFs), applets and programmatic objects, asci i art, frames, scripts, images used as list bullets, spacers, graphical buttons, sounds (played with or without user interaction), stand-alone audio files, audi o tracks of video, and video. [Priority 1]"""
Exemple #20
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.06 - PDF document doesn't have bookmarks
      
      History
      Initial version
      Tingtun
      2010-07-24

      WCAG 1.0 reference: Checkpoint 13.3 Provide information about the general layout of a site (e.g., a site map or table of contents). (Closest match)
      WCAG 2.0 reference: Checkpoint 2.4.6 (Closest match)
      
      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "EGOVMON.PDF.06",
                           ['EIAO.A.10.13.3.4.PDF.1.1'], **args)
        self.title = "The inspected PDF document doesn't have bookmarks for easy navigation"
        self.description = """Checkpoint 13.3: Provide information about the general layout of a site (e.g., a site map or table of contents)"""
Exemple #21
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.02 - PDF document doesn't provide a title

      History
      Initial version
      Tingtun
      2010-05-22

      WCAG 1.0 reference: No direct WCAG 1.0 reference
      WCAG 2.0 reference: Checkpoint 2.4.2
      
      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "EGOVMON.PDF.02",
                           ['EIAO.A.15.1.1.4.PDF.1.1'], **args)
        self.title = 'The inspected PDF document does not provide a title'
        self.description = """EIAO checkpoint 15.1: Provide a document title which describes the topic or purpose of the document"""
Exemple #22
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.04 - PDF document does not specify natural language.

      History
      Initial version
      UIA
      2008-10-07

      WCAG 1.0 reference: Checkpoint 4.1: Clearly identify changes in the natural language of a document's text and any text equivalents (e.g., captions). 
[Priority 1]

      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "EGOVMON.PDF.04",
                           ['EIAO.A.10.4.1.4.PDF.1.1'], **args)
        self.title = 'The inspected PDF document does not specify natural language for the document.'
        self.description = """Checkpoint 4.1: Clearly identify changes in the natural language of a document's text and any text equivalents (e.g., captions).
Exemple #23
0
    def __init__(self, awamresult, **args):
        """
      EGOVMON.PDF.07 - PDF document uses headers inconsistently, against proper document structure.

      History
      Initial version
      Tingtun
      2010-05-15

      WCAG 1.0 reference: Checkpoint 3.5: Use header elements to convey document structure and use
      them according to specification. [Priority 2]

      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "EGOVMON.PDF.07",
                           ['EIAO.A.10.3.5.4.PDF.1.1'], **args)
        self.title = 'The inspected PDF document uses document headers inconsistently.'
        self.description = """Checkpoint 3.5: Use header elements to convey document structure and use them according to specification. [Priority 2]"""
Exemple #24
0
    def __init__(self, awamresult, **args):
        """
      UWEM.B.10.11.1.3.HTML.DEF.1.1 - Non-Use of latest W3C technologies

      History
      Initial version
      FTB
      2006-09-28

      WCAG 1.0 reference: Checkpoint 11.1: Use W3C technologies when they are available and appropriate for a task and use the latest versions when supported.[Priority 2]


      Mode: Fully automatable.
      """
        AbstractB.__init__(
            self, awamresult, 'UWEM.B.10.11.1.3.HTML.DEF.1.1',
            ["EIAO.A.10.11.1.1.HTML.1.1", "EIAO.A.10.11.1.2.HTTP.1.1"], **args)
        self.title = 'The inspected (X)HTML resource does not use the latest W3C technologies.'
        self.description = """Checkpoint 11.1: Use W3C technologies when they are available and appropriate for a task and use the latest versions when supported.[Priority 2]"""
Exemple #25
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.16 - PDF document does not specify natural language.

      History
      Initial version
      Tingtun
      2011-11-27

      WCAG 1.0 reference: Checkpoint 4.1: Clearly identify changes in the natural language of a document's text and any text equivalents (e.g., captions). 
[Priority 1]

      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.16",[
          'EIAO.A.10.4.1.4.PDF.1.1'
      ], **args)
      self.title = 'Setting the default language using the /Lang entry in the document catalog of a PDF document'
      self.description = """The objective of this technique is to specify a document's default language by setting the /Lang entry in the document catalog. This is normally accomplished using a tool for authoring PDF.
Exemple #26
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.09 - PDF document uses headers inconsistently, against proper document structure.

      History
      Initial version
      Tingtun
      2011-11-27

      WCAG 1.0 reference: Checkpoint 3.5: Use header elements to convey document structure and use
      them according to specification. [Priority 2]

      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.09",[
          'EIAO.A.10.3.5.4.PDF.1.1'
      ], **args)
      self.title = 'Providing headings by marking content with heading tags in PDF documents'
      self.description = """The purpose of this technique is to show how headings in PDF documents can be marked so that they are recognized by assistive technologies. This is typically accomplished by using a tool for authoring PDF.
Exemple #27
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.02 - PDF document doesn't have bookmarks
      
      History
      Initial version
      Tingtun
      2011-11-27

      WCAG 1.0 reference: Checkpoint 13.3 Provide information about the general layout of a site (e.g., a site map or table of contents). (Closest match)
      WCAG 2.0 reference: Checkpoint 2.4.6 (Closest match)
      
      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.02",[
          'EIAO.A.10.13.3.4.PDF.1.1'
      ], **args)
      self.title = "Creating bookmarks in PDF documents"
      self.description = """The intent of this technique is to make it possible for users to locate content using bookmarks (outline entries in an Outline dictionary) in long documents.
Exemple #28
0
   def __init__(self,awamresult, **args):
      """
      WCAG.PDF.18 - PDF document doesn't provide a title

      History
      Initial version
      Tingtun
      2011-11-27

      WCAG 1.0 reference: No direct WCAG 1.0 reference
      WCAG 2.0 reference: Checkpoint 2.4.2
      
      Mode: Fully automatable.
      """
      AbstractB.__init__(self,awamresult,"WCAG.PDF.18",[
          'EIAO.A.15.1.1.4.PDF.1.1'
      ], **args)
      self.title = 'Specifying the document title using the Title entry in the document information dictionary of a PDF document'
      self.description = """The intent of this technique is to show how a descriptive title for a PDF document can be specified for assistive technology by using the /Title entry in the document information dictionary and by setting the DisplayDocTitle flag to True in a viewer preferences dictionary. This is typically accomplished by using a tool for authoring PDF.
Exemple #29
0
    def __init__(self, awamresult, **args):
        """
      UWEM.B.10.3.2.3.CSS.DEF.1.1 - Formal schema violations

      History
      Initial version based on D3.3.2
      2008-01-31

      WCAG 1.0 reference: Checkpoint 3.2: Create documents that validate to published formal grammars. [Priority 2]

      Mode: Fully automatable.
      """
        AbstractB.__init__(self,
                           awamresult,
                           "UWEM.B.10.3.2.3.CSS.DEF.1.1",
                           ['EIAO.A.10.3.2.2.CSS.1.1'],
                           default=DEFAULT_PASS,
                           **args)
        self.title = 'The inspected (X)HTML file contains at least one violation of the formal schema of HTML (or XHTML resp.).'
        self.description = """Checkpoint 3.2: Create documents that validate to published formal grammars. [Priority 2]"""
Exemple #30
0
    def __init__(self, awamresult, **args):
        """
      UWEM.B.10.6.4.3.HTML.DEF.1.1 - Mouse-specific event handler

      History
      Updated for UWEM 1.2
      FTB
      2008-01-09

      WCAG 1.0 reference: Checkpoint 6.4: For scripts and applets, ensure that event handlers are input device-independent. [Priority 2]

      Mode: Fully automatable.
      """
        AbstractB.__init__(self, awamresult, "UWEM.B.10.6.4.3.HTML.DEF.1.1", [
            'EIAO.A.10.6.4.2.HTML.1.2',
            'EIAO.A.10.6.4.2.HTML.2.2',
            'EIAO.A.10.6.4.3.HTML.3.1',
            'EIAO.A.10.6.4.2.HTML.4.2',
            'EIAO.A.10.6.4.2.HTML.5.2',
        ], **args)
        self.title = 'The inspected element used a mouse-specific event handler but does not provide a keyboard-specific or device-independent even handler with that triggers the same functionality.'
        self.description = """Checkpoint 6.4: For scripts and applets, ensure that event handlers are input device-independent. [Priority 2]"""