Plugin Directory

Changeset 1835499

Timestamp:
03/07/2018 04:43:25 PM (6 years ago)
Author:
JoeFusco
Message:

v1.2.0

Location:
accessible-divi/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • accessible-divi/trunk/admin/class-divi-accessibility-admin.php

    r1821474 r1835499  
    170170            'skip_navigation_link'         => 1,
    171171            'aria_hidden_icons'            => 1,
     172
    172173            'tota11y'                      => 0,
    173174            'developer_mode'               => 0,
     
    333334                'label_for'     => $this->da11y . '_aria_hidden_icons',
    334335                'label_text'    => 'Hide all icons to screen readers so text is read normally.',
    335                 'label_subtext' => 'Note: This may not work for all icons',
     336                'label_subtext' => 'This may not work for all icons',
     337            )
     338        );
     339
     340        // Fix duplicate menu ids.
     341        add_settings_field(
     342            $this->da11y . '_fix_duplicate_menu_ids',
     343            'Fix duplicate menu ids',
     344            array( $this, 'divi_accessibility_checkbox_cb' ),
     345            $this->da11y,
     346            $general_section,
     347            array(
     348                'name'          => 'fix_duplicate_menu_ids',
     349                'label_for'     => $this->da11y . '_fix_duplicate_menu_ids',
     350                'label_text'    => 'Because Divi uses the same menu twice (Once for the primary menu and again for the mobile menu), the unique ID\'s are duplicated causing validation issues. This option prevents WordPress from adding a unique ID to the menu list items.',
     351                'label_subtext' => '',
    336352            )
    337353        );
  • accessible-divi/trunk/divi-accessibility.php

    r1821474 r1835499  
    1010 *
    1111 * @link              https://campuspress.com
    12  * @since             1.0.0
     12 * @since             1..0
    1313 * @package           Divi_Accessibility
    1414 *
     
    1717 * Plugin URI:        https://wordpress.org/plugins/accessible-divi/
    1818 * Description:       Improve Divi accessibility in accordance with WCAG 2.0 guidelines.
    19  * Version:           1.1.0
     19 * Version:           1..0
    2020 * Author:            CampusPress
    2121 * Author URI:        https://campuspress.com
     
    3636}
    3737
    38 // Used for referring to the plugin base path
     38// Used for referring to the plugin base path
    3939if ( ! defined( 'DA11Y_PATH' ) ) {
    4040    define( 'DA11Y_PATH', plugin_dir_path( __FILE__ ) );
  • accessible-divi/trunk/includes/class-divi-accessibility.php

    r1821474 r1835499  
    8787     * the public-facing side of the site.
    8888     *
    89      * @since    1.1.0
     89     * @since    1..0
    9090     */
    9191    public function __construct() {
     
    9393        $this->da11y         = 'divi_accessibility';
    9494        $this->da11y_options = 'divi_accessibility_options';
    95         $this->version       = '1.1.0';
     95        $this->version       = '1..0';
    9696
    9797        $this->load_dependencies();
     
    176176        $this->loader->add_action( 'init', $plugin_public, 'remove_divi_viewport_meta' );
    177177        $this->loader->add_action( 'wp_head', $plugin_public, 'accessible_viewport_meta' );
     178
    178179
    179180    }
  • accessible-divi/trunk/public/class-divi-accessibility-public.php

    r1821474 r1835499  
    167167
    168168    /**
     169
     170
     171
     172
     173
     174
     175
     176
     177
     178
     179
     180
     181
     182
     183
    169184     * Log plugin info to console for admin users.
    170185     *
  • accessible-divi/trunk/readme.txt

    r1821474 r1835499  
    2323* Adds skip navigation link optimized for Divi markup
    2424* Hide icons from screen readers which can affect reading of text
     25
    2526* Tota11y integration
    2627
     
    5253== Changelog ==
    5354
     55
     56
     57
    5458= 1.1 =
    5559* Add option to hide decorative icons from screen readers
Note: See TracChangeset for help on using the changeset viewer.