
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par kent1
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par kent1
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par kent1
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par kent1
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par kent1
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par kent1
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (26)
-
Personnaliser les catégories
21 juin 2013, par etalarmaFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Le plugin : Podcasts.
14 juillet 2010, par kent1Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Selection of projects using MediaSPIP
2 mai 2011, par kent1The examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (4197)
-
How (and Why) to Run a Web Accessibility Audit in 2024
7 mai 2024, par ErinWhen most businesses design their websites, they primarily think about aesthetics, not accessibility. However, not everyone who visits your website has the same abilities or access needs. Eight percent of the US population has visual impairments.
The last thing you want is to alienate website visitors with a bad experience because your site isn’t up to accessibility standards. (And with growing international regulation, risk fines or lawsuits as a result.)
A web accessibility audit can help you identify and fix any issues for users with impaired vision, hearing or other physical disabilities. In this article, we’ll cover how to conduct such an audit efficiently for your website in 2024.
What is a web accessibility audit ?
A web accessibility audit is a way to evaluate the usability of your website for users with visual, auditory or physical impairments, as well as cognitive disabilities or neurological issues. The goal is to figure out how accessible your website is to each of these affected groups and solve any issues that come up.
To complete an audit, you use digital tools and various manual accessibility testing processes to ensure your site meets modern web accessibility standards.
Why is a web accessibility audit a must in 2024 ?
For far too long, many businesses have not considered the experiences of those with disabilities. The growing frustrations of affected internet users have led to a new focus on web accessibility laws and enforcement.
Lawsuits related to the ADA (Americans with Disabilities Act) reached all-time highs in 2023 — over 4,500 digital-related lawsuits were filed. The EU has also drawn up the European Accessibility Act (EAC), which goes into effect in June 2025.
But at the end of the day, it’s not about accessibility legislation. It’s about doing right by people.
This video by voice actor, YouTuber, and surfer Pete Gustin demonstrates why accessibility measures are so important. If buttons, navigation and content sections aren’t properly labelled, sight-impaired people who rely on speech-to-text to browse the web can’t comfortably interact with your site.
And you’re worse off for it. You can lose some of your best customers and advocates this way.
With stronger enforcement of accessibility regulations in the US and new regulations coming into effect in the EU in 2025, the time to act is now. It’s not enough to “keep accessibility in mind” — you must take concrete steps to improve it.
Who should lead a web accessibility audit ?
Ideally, you want to hire a third-party web accessibility expert to lead the audit. They can guide you through multiple stages of manual accessibility testing to ensure your site meets regulations and user needs.
Experienced accessibility auditors are familiar with common pitfalls and can help you avoid them. They ensure you meet the legal requirements with proper solutions, not quick fixes.
If this isn’t an option, find someone with relevant experience within your company. And involve someone with “skin in the game” in the process. Hire someone with visual impairments to usability test your site. Don’t just do automated tests or “put yourself in their shoes.” Make sure the affected users can use your site without issues.
Automated vs. manual audits and the danger of shortcuts
While there are automated audits, they only check for the bare minimum :
- Do your images have alt tags ? (They don’t check if the alt tag is descriptive or just SEO junk text.)
- Are clickable buttons identified with text for visually impaired users ?
- Is your text size adjustable ?
- Are your background and foreground colours accessible for colour-blind users ? Is there a sufficient contrast ratio ?
They don’t dive into the user journey (and typically can’t access login-locked parts of your site). They can be a good starting point, but it’s a bad idea to rely completely on automated audits.
They’ll miss more complex issues like :
- Dynamic content and animated elements or videos that could put people with epilepsy at risk of seizures
- A navigational flow that is unnecessarily challenging for users with impairments
- Video elements without proper captions
So, don’t rely too much on automated tests and audits. Many lawsuits for ADA infractions are against companies that think they’ve already solved the problem. For example, 30% of 2023 lawsuits were against sites that used accessibility overlays.
Key elements of the Web Content Accessibility Guidelines (WCAG)
The international standard for web accessibility is the Web Content Accessibility Guidelines (WCAG). In the most recent version, WCAG 2.2, there are new requirements for visual elements and focus and other updates.
Here’s a quick overview of the key priorities of WCAG :
Perceivable : Any user can read or listen to your site’s content
The first priority is for any user to be able to perceive the actual content on your site. To be compliant, you need to make these adjustments and more :
- Use text that scales with browser settings.
- Avoid relying on colour contrasts to communicate something.
- Ensure visual elements are explained in text.
- Offer audio alternatives for things like CAPTCHA.
- Form fields and interactive elements are properly named.
Operable : Any user can navigate the site and complete tasks without issue
The second priority is for users to navigate your website and complete tasks. Here are some of the main considerations for this section :
- Navigation is possible through keyboard and text-to-speech interfaces.
- You offer navigation tools to bypass repeated blocks of content.
- Buttons are properly titled and named.
- You give impaired users enough time to finish processes without timing out.
- You allow users to turn off unnecessary animations (and ensure none include three flashes or more within one second).
- Links have a clear purpose from their alt text (and context).
Understandable : Any user can read and understand the content
The third priority is making the content understandable. You need to communicate as simply and as clearly as possible. Here are a few key points :
- Software can determine the default language of each page.
- You use a consistent method to explain jargon or difficult terms.
- You introduce the meaning of unfamiliar abbreviations and acronyms.
- You offer tools to help users double-check and correct input.
- The reading grade is not higher than grade 9. If it is, you must offer an alternative text with a lower grade.
- Use consistent and predictable formatting and navigation.
This intro to accessibility guidelines should help you see the wide range of potential accessibility issues. Accessibility is not just about screen readers — it’s about ensuring a good user experience for users with a wide range of disabilities.
Note : If you’re not hiring a third-party expert for the manual accessibility audit, this introduction isn’t enough. You need to familiarise yourself with all 50 success criteria in WCAG 2.2.
How to do your first web accessibility audit
Ready to find and fix the accessibility issues across your website ? Follow the steps outlined below to do a successful accessibility audit.
Start with an automated accessibility test
To point you in the right direction, start with a digital accessibility checker. There are many free alternatives, including :
- Accessibility Checker
- Silktide accessibility checker
- AAArdvark
When choosing a tool, check it’s up-to-date with the newest accessibility guidelines. Many accessibility evaluation tools are still based on the WCAG 2.1 version rather than WCAG 2.2.
The tool will give you a basic evaluation of the accessibility level of your site. A free report can quickly identify common issues with navigation, labelling, colour choices and more.
But this is only good as a starting point. Remember that even paid versions of these testing tools are limited and cannot replace a manual audit.
Look for common issues
The next step is to manually look for common issues that impact your site’s level of accessibility :
- Undescriptive alt text
- Colour combinations (and lack of ability to change background and foreground colours)
- Unscalable text
- Different site content sections that are not properly labelled
The software you use to create your site can lead to many of these issues. Is your content management system (CMS) compliant with ADA or WCAG ? If not, you may want to move to a CMS before continuing the audit.
Pinpoint customer journeys and test them for accessibility
After you’ve fixed common issues, it’s essential to put the actual customer journey to the test. Explore your most important journeys with behavioural analytics tools like session recordings and funnel analysis.
Analysing funnel reports lets you quickly identify each page that usually contributes to a sale. You will also have an overview of the most popular funnels to evaluate for accessibility.
If your current web analytics platform doesn’t offer behavioural reports like these, Matomo can help. Our privacy-friendly web analytics solution includes funnel reports, session recordings, A/B testing, form analytics, heatmaps and more.
Try Matomo for Free
Get the web insights you need, without compromising data accuracy.
If you don’t have the budget to test every page individually, this is the perfect place to start. You want to ensure that users with disabilities have no issues completing the main tasks on your site.
Don’t focus solely on your web pages
Accessibility barriers can also exist outside of your standard web pages. So ensure that other file formats like PDFs and videos are also accessible.
Remember that downloadable materials are also part of your digital experience. Always consider the needs of individuals with disabilities when accessing things like case studies or video tutorials.
Highlight high-priority issues in a detailed report
To complete the audit, you need to summarise and highlight high-priority issues. In a larger company, this will be in the form of a report. W3’s Web Accessibility Initiative offers a free accessibility report template and an online tool to generate a report.
For smaller teams, it may make sense to input issues directly into the product backlog or a task list. Then, you can tackle the issues, starting with high-priority pages identified earlier in this process.
Avoid quick fixes and focus on sustainable improvement
As mentioned, AI-powered overlay solutions aren’t compliant and put you at risk for lawsuits. It’s not enough to install a quick accessibility tool and pat yourself on the back.
And it’s not just about accessibility compliance. These solutions provide a disjointed experience that alienates potential users.
The point of a digital accessibility audit is to identify issues and provide a better experience to all your users. So don’t try to cut corners. Do the work required to implement solutions that work seamlessly for everyone. Invest in a long-term accessibility remediation process.
Deliver a frictionless experience while gaining insight into your users
An accessibility audit is crucial to ensure an inclusive experience — that a wide variety of users can read and interact with your site.
But what about the basic usability of your website ? Are you sure the experience is without friction ? Matomo’s behavioural analytics tools can show how users interact with your website.
For example, heatmaps can show you where users are clicking — which can help you identify a pattern, like many users mistaking a visual element for a button.
Plus, our privacy-friendly web analytics are compliant with GDPR, CCPA and other data privacy regulations. That helps protect you against privacy-related lawsuits, just as an accessibility audit protects you against ADA lawsuits.
And it never hurts that your users know you respect their privacy. Try Matomo free for 21-days. No credit card required.
Try Matomo for Free
21 day free trial. No credit card required.
-
How HSBC and ING are transforming banking with AI
9 novembre 2024, par Daniel Crough — Banking and Financial Services, Featured Banking ContentWe recently partnered with FinTech Futures to produce an exciting webinar discussing how analytics leaders from two global banks are using AI to protect customers, streamline operations, and support environmental goals.
Watch the on-demand webinar : Advancing analytics maturity.
<script><br />
gform.initializeOnLoaded( function() {gformInitSpinner( 71, 'https://matomo.org/wp-content/plugins/gravityforms/images/spinner.svg', true );jQuery('#gform_ajax_frame_71').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_71');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_71').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){jQuery('#gform_wrapper_71').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_71').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_71').removeClass('gform_validation_error');}setTimeout( function() { /* delay the scroll by 50 milliseconds to fix a bug in chrome */ }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_71').val();gformInitSpinner( 71, 'https://matomo.org/wp-content/plugins/gravityforms/images/spinner.svg', true );jQuery(document).trigger('gform_page_loaded', [71, current_page]);window['gf_submitting_71'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery('#gform_wrapper_71').replaceWith(confirmation_content);jQuery(document).trigger('gform_confirmation_loaded', [71]);window['gf_submitting_71'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_71').text());}, 50);}else{jQuery('#gform_71').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger("gform_pre_post_render", [{ formId: "71", currentPage: "current_page", abort: function() { this.preventDefault(); } }]); if (event.defaultPrevented) { return; } const gformWrapperDiv = document.getElementById( "gform_wrapper_71" ); if ( gformWrapperDiv ) { const visibilitySpan = document.createElement( "span" ); visibilitySpan.id = "gform_visibility_test_71"; gformWrapperDiv.insertAdjacentElement( "afterend", visibilitySpan ); } const visibilityTestDiv = document.getElementById( "gform_visibility_test_71" ); let postRenderFired = false; function triggerPostRender() { if ( postRenderFired ) { return; } postRenderFired = true; jQuery( document ).trigger( 'gform_post_render', [71, current_page] ); gform.utils.trigger( { event: 'gform/postRender', native: false, data: { formId: 71, currentPage: current_page } } ); if ( visibilityTestDiv ) { visibilityTestDiv.parentNode.removeChild( visibilityTestDiv ); } } function debounce( func, wait, immediate ) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if ( !immediate ) func.apply( context, args ); }; var callNow = immediate && !timeout; clearTimeout( timeout ); timeout = setTimeout( later, wait ); if ( callNow ) func.apply( context, args ); }; } const debouncedTriggerPostRender = debounce( function() { triggerPostRender(); }, 200 ); if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) { const observer = new MutationObserver( ( mutations ) => { mutations.forEach( ( mutation ) => { if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) { debouncedTriggerPostRender(); observer.disconnect(); } }); }); observer.observe( document.body, { attributes: true, childList: false, subtree: true, attributeFilter: [ 'style', 'class' ], }); } else { triggerPostRender(); } } );} );<br />
</script>Meet the expert panel
Roshini Johri heads ESG Analytics at HSBC, where she leads AI and remote sensing applications supporting the bank’s net zero goals. Her expertise spans climate tech and financial services, with a focus on scalable analytics solutions.
Marco Li Mandri leads Advanced Analytics Strategy at ING, where he focuses on delivering high-impact solutions and strengthening analytics foundations. His background combines analytics, KYC operations, and AI strategy.
Carmen Soini Tourres works as a Web Analyst Consultant at Matomo, helping financial organisations optimise their digital presence whilst maintaining privacy compliance.
Key findings from the webinar
The discussion highlighted four essential elements for advancing analytics capabilities :
1. Strong data foundations matter most
“It doesn’t matter how good the AI model is. It is garbage in, garbage out,”
Johri explained. Banks need robust data governance that works across different regulatory environments.
2. Transform rather than tweak
Li Mandri emphasised the need to reconsider entire processes :
“We try to look at the banking domain and processes and try to re-imagine how they should be done with AI.”
3. Bridge technical and business understanding
Both leaders stressed the value of analytics translators who understand both technology and business needs.
“We’re investing in this layer we call product leads,”
Li Mandri explained. These roles combine technical knowledge with business acumen – a rare but vital skill set.
4. Consider production costs early
Moving from proof-of-concept to production requires careful planning. As Johri noted :
“The scale of doing things in production is quite massive and often doesn’t get accounted for in the cost.”
This includes :
- Ongoing monitoring requirements
- Maintenance needs
- Regulatory compliance checks
- Regular model updates
Real-world applications
ING’s approach demonstrates how banks can transform their operations through thoughtful AI implementation. Li Mandri shared several areas where the bank has successfully deployed analytics solutions, each benefiting both the bank and its customers.
Customer experience enhancement
The bank’s implementation of AI-powered instant loan processing shows how analytics can transform traditional banking.
“We know AI can make loans instant for the customer, that’s great. Clicking one button and adding a loan, that really changes things,”
Li Mandri explained. This goes beyond automation – it represents a fundamental shift in how banks serve their customers.
The system analyses customer data to make rapid lending decisions while maintaining strong risk assessment standards. For customers, this means no more lengthy waiting periods or complex applications. For the bank, it means more efficient resource use and better risk management.
The bank also uses AI to personalise customer communications.
“We’re using that to make certain campaigns more personalised, having a certain tone of voice,”
noted Li Mandri. This particularly resonates with younger customers who expect relevant, personalised interactions from their bank.
Operational efficiency transformation
ING’s approach to Know Your Customer (KYC) processes shows how AI can transform resource-heavy operations.
“KYC is a big area of cost for the bank. So we see massive value there, a lot of scale,”
Li Mandri explained. The bank developed an AI-powered system that :
- Automates document verification
- Flags potential compliance issues for human review
- Maintains consistent standards across jurisdictions
- Reduces processing time while improving accuracy
This implementation required careful consideration of regulations across different markets. The bank developed monitoring systems to ensure their AI models maintain high accuracy while meeting compliance standards.
In the back office, ING uses AI to extract and process data from various documents, significantly reducing manual work. This automation lets staff focus on complex tasks requiring human judgment.
Sustainable finance initiatives
ING’s commitment to sustainable banking has driven innovative uses of AI in environmental assessment.
“We have this ambition to be a sustainable bank. If you want to be a sustainable finance customer, that requires a lot of work to understand who the company is, always comparing against its peers.”
The bank developed AI models that :
- Analyse company sustainability metrics
- Compare environmental performance against industry benchmarks
- Assess transition plans for high-emission industries
- Monitor ongoing compliance with sustainability commitments
This system helps staff evaluate the environmental impact of potential deals quickly and accurately.
“We are using AI there to help our frontline process customers to see how green that deal might be and then use that as a decision point,”
Li Mandri noted.
HSBC’s innovative approach
Under Johri’s leadership, HSBC has developed several groundbreaking uses of AI and analytics, particularly in environmental monitoring and operational efficiency. Their work shows how banks can use advanced technology to address complex global challenges while meeting regulatory requirements.
Environmental monitoring through advanced technology
HSBC uses computer vision and satellite imagery analysis to measure environmental impact with new precision.
“This is another big research area where we look at satellite images and we do what is called remote sensing, which is the study of a remote area,”
Johri explained.
The system provides several key capabilities :
- Analysis of forest coverage and deforestation rates
- Assessment of biodiversity impact in specific regions
- Monitoring of environmental changes over time
- Measurement of environmental risk in lending portfolios
“We can look at distant images of forest areas and understand how much percentage deforestation is being caused in that area, and we can then measure our biodiversity impact more accurately,”
Johri noted. This technology enables HSBC to :
- Make informed lending decisions
- Monitor environmental commitments of borrowers
- Support sustainability-linked lending programmes
- Provide accurate environmental impact reporting
Transforming document analysis
HSBC is tackling one of banking’s most time-consuming challenges : processing vast amounts of documentation.
“Can we reduce the onus of human having to go and read 200 pages of sustainability reports each time to extract answers ?”
Johri asked. Their solution combines several AI technologies to make this process more efficient while maintaining accuracy.
The bank’s approach includes :
- Natural language processing to understand complex documents
- Machine learning models to extract relevant information
- Validation systems to ensure accuracy
- Integration with existing compliance frameworks
“We’re exploring solutions to improve our reporting, but we need to do it in a safe, robust and transparent way.”
This careful balance between efficiency and accuracy exemplifies HSBC’s approach to AI.
Building future-ready analytics capabilities
Both banks emphasise that successful analytics requires a comprehensive, long-term approach. Their experiences highlight several critical considerations for financial institutions looking to advance their analytics capabilities.
Developing clear governance frameworks
“Understanding your AI risk appetite is crucial because banking is a highly regulated environment,”
Johri emphasised. Banks need to establish governance structures that :
- Define acceptable uses for AI
- Establish monitoring and control mechanisms
- Ensure compliance with evolving regulations
- Maintain transparency in AI decision-making
Creating solutions that scale
Li Mandri stressed the importance of building systems that grow with the organisation :
“When you try to prototype a model, you have to take care about the data safety, ethical consideration, you have to identify a way to monitor that model. You need model standard governance.”
Successful scaling requires :
- Standard approaches to model development
- Clear evaluation frameworks
- Simple processes for model updates
- Strong monitoring systems
- Regular performance reviews
Investing in people and skills
Both leaders highlighted how important skilled people are to analytics success.
“Having a good hiring strategy as well as creating that data literacy is really important,”
Johri noted. Banks need to :
- Develop comprehensive training programmes
- Create clear career paths for analytics professionals
- Foster collaboration between technical and business teams
- Build internal expertise in emerging technologies
Planning for the future
Looking ahead, both banks are preparing for increased regulation and growing demands for transparency. Key focus areas include :
- Adapting to new privacy regulations
- Making AI decisions more explainable
- Improving data quality and governance
- Strengthening cybersecurity measures
Practical steps for financial institutions
The experiences shared by HSBC and ING provide valuable insights for financial institutions at any stage of their analytics journey. Their successes and challenges outline a clear path forward.
Key steps for success
Financial institutions looking to enhance their analytics capabilities should :
- Start with strong foundations
- Invest in clear data governance frameworks
- Set data quality standards
- Build thorough documentation processes
- Create transparent data tracking
- Think strategically about AI implementation
- Focus on transformative rather than small changes
- Consider the full costs of AI projects
- Build solutions that can grow
- Balance innovation with risk management
- Invest in people and processes
- Develop internal analytics expertise
- Create clear paths for career growth
- Foster collaboration between technical and business teams
- Build a culture of data literacy
- Plan for scale
- Establish monitoring systems
- Create governance frameworks
- Develop standard approaches to model development
- Stay flexible for future regulatory changes
Learn more
Want to hear more insights from these industry leaders ? Watch the complete webinar recording on demand. You’ll learn :
- Detailed technical insights from both banks
- Extended Q&A with the speakers
- Additional case studies and examples
- Practical implementation advice
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
Watch the on-demand webinar : Advancing analytics maturity.
<script><br />
gform.initializeOnLoaded( function() {gformInitSpinner( 71, 'https://matomo.org/wp-content/plugins/gravityforms/images/spinner.svg', true );jQuery('#gform_ajax_frame_71').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_71');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_71').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){jQuery('#gform_wrapper_71').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_71').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_71').removeClass('gform_validation_error');}setTimeout( function() { /* delay the scroll by 50 milliseconds to fix a bug in chrome */ }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_71').val();gformInitSpinner( 71, 'https://matomo.org/wp-content/plugins/gravityforms/images/spinner.svg', true );jQuery(document).trigger('gform_page_loaded', [71, current_page]);window['gf_submitting_71'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery('#gform_wrapper_71').replaceWith(confirmation_content);jQuery(document).trigger('gform_confirmation_loaded', [71]);window['gf_submitting_71'] = false;wp.a11y.speak(jQuery('#gform_confirmation_message_71').text());}, 50);}else{jQuery('#gform_71').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger("gform_pre_post_render", [{ formId: "71", currentPage: "current_page", abort: function() { this.preventDefault(); } }]); if (event.defaultPrevented) { return; } const gformWrapperDiv = document.getElementById( "gform_wrapper_71" ); if ( gformWrapperDiv ) { const visibilitySpan = document.createElement( "span" ); visibilitySpan.id = "gform_visibility_test_71"; gformWrapperDiv.insertAdjacentElement( "afterend", visibilitySpan ); } const visibilityTestDiv = document.getElementById( "gform_visibility_test_71" ); let postRenderFired = false; function triggerPostRender() { if ( postRenderFired ) { return; } postRenderFired = true; jQuery( document ).trigger( 'gform_post_render', [71, current_page] ); gform.utils.trigger( { event: 'gform/postRender', native: false, data: { formId: 71, currentPage: current_page } } ); if ( visibilityTestDiv ) { visibilityTestDiv.parentNode.removeChild( visibilityTestDiv ); } } function debounce( func, wait, immediate ) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if ( !immediate ) func.apply( context, args ); }; var callNow = immediate && !timeout; clearTimeout( timeout ); timeout = setTimeout( later, wait ); if ( callNow ) func.apply( context, args ); }; } const debouncedTriggerPostRender = debounce( function() { triggerPostRender(); }, 200 ); if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) { const observer = new MutationObserver( ( mutations ) => { mutations.forEach( ( mutation ) => { if ( mutation.type === 'attributes' && visibilityTestDiv.offsetParent !== null ) { debouncedTriggerPostRender(); observer.disconnect(); } }); }); observer.observe( document.body, { attributes: true, childList: false, subtree: true, attributeFilter: [ 'style', 'class' ], }); } else { triggerPostRender(); } } );} );<br />
</script> -
Revision 31199 : L’utilisation de document.write pouvait poser problème de temps en temps ...
29 août 2009, par kent1@… — LogL’utilisation de document.write pouvait poser problème de temps en temps ... si jQuery est disponible, on utilise jQuery.getScript pour charger le script