Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1487118

    Dear support,

    I am trying to add Aria-Labels to my instance.

    I have added to my function.php

    function custom_alb_get_developer_settings( $value, $setting, $option_value )
    {	
    	switch( $setting )
    	{	
    		case 'aria_label':
    			/**
    			 * allowed return values
    			 */
    			$value = 'developer_aria_label';
    			//$value = 'show';
    			//$value = 'deactivate';
    			
    			break;
    		
    		default:
    			$value = false;
    	}
    			
    	return $value;
    }
    
    add_filter( 'avf_alb_get_developer_settings', 'custom_alb_get_developer_settings', 10, 3 );

    Unfortunately I don ‘t see an aria-label at my buttons.
    <a href="#/anfahrt"><span class="avia_button_icon avia_button_icon_left " aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span><span class="avia_iconbox_title">Zur Anfahrtsbeschreibung</span></a>

    Nor in my development options of the button.
    How can I add the option to the button?

    Best Regards

    • This topic was modified 4 days, 22 hours ago by Collie-IT.
    • This topic was modified 4 days, 22 hours ago by Collie-IT.
    #1487151

    Hey Collie-IT,

    Thank you for the inquiry.

    You need to fill in the Content > Button > Button Title Attribute in order to apply the aria-label attribute to the Button element. The same value will be used for both the title and aria-label attributes.

    View post on imgur.com

    Best regards,
    Ismael

    #1487156

    Hello Ismael,
    Unfortunately we have not the Button Title Attribute on the backed.

    If I try the shortcoce methode:
    [av_button label='Zur Anfahrtsbeschreibung' link='manually.#/anfahrt' link_target='' size='large' position='left' icon_select='yes' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' av_uid='av-5obiu2i' title_attr='Zur Anfahrt']

    I get no arria here:

    <a href="#/anfahrt" class="avia-button avia-color-theme-color avia-icon_select-yes-left-icon avia-size-large avia-position-left " style="text-decoration: underline; outline-width: 0px; outline-color: rgb(240, 240, 241); outline-offset: 0px;"><span class="avia_button_icon avia_button_icon_left " aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span><span class="avia_iconbox_title">Zur Anfahrtsbeschreibung</span></a>

    #1487172

    Hi,

    Thank you for the update.

    We may need to log in to the site to properly check the issue. Please create a test page, provide the login details in the private field and make sure that the theme version is 7.1.1.

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.