How To Fix FPCHKACC021 - &1&2&3&4 Button-like link object has no alternative text


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FPCHKACC - Usability messages for FP internal use only

  • Message number: 021

  • Message text: &1&2&3&4 Button-like link object has no alternative text

  • Show details Hide details
  • What causes this issue?

    [0021] The button-like link object shall have a custom text (as
    alternative text), which clearly identifies the target of the link.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    The target of the link has to be clearly identified. To clearly identify
    the target of the link, the custom text of the link must include the
    link text (not the URL) and the Screen Reader precedence should be set
    to "Custom Text", not "Tooltip" nor other Screen Reader precedence.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FPCHKACC021 - &1&2&3&4 Button-like link object has no alternative text ?

    The SAP error message FPCHKACC021 indicates that a button-like link object in your SAP application does not have alternative text. This is a part of accessibility compliance, ensuring that all interactive elements are properly labeled for users who rely on assistive technologies, such as screen readers.

    Cause:

    The error occurs when:

    • A button or link in the SAP UI does not have an associated text description (alternative text).
    • This can happen if the button is created without a label or if the label is not properly defined in the UI5 or Web Dynpro application.

    Solution:

    To resolve this error, you should ensure that all button-like link objects have appropriate alternative text. Here are the steps to do this:

    1. Identify the Object: Locate the button-like link object that is causing the error. The error message may provide identifiers (like &1, &2, etc.) that can help you find the specific object in your code.

    2. Add Alternative Text:

      • If you are using SAP UI5, you can add the text property to the button or link control. For example:
        new sap.m.Button({
            text: "Submit", // Add appropriate text here
            press: function() {
                // Your press event logic
            }
        });
      • If you are using Web Dynpro, ensure that the text attribute of the button is set correctly in the view or controller.
    3. Test the Changes: After adding the alternative text, test the application to ensure that the error message no longer appears and that the button is accessible.

    4. Accessibility Review: Conduct a broader accessibility review of your application to ensure that all interactive elements are properly labeled and accessible.

    Related Information:

    • Accessibility Standards: Familiarize yourself with accessibility standards such as WCAG (Web Content Accessibility Guidelines) to ensure compliance.
    • SAP Documentation: Refer to SAP's official documentation on UI5 and Web Dynpro for best practices in creating accessible applications.
    • Development Tools: Use tools like SAP Fiori tools or accessibility checkers to identify and fix accessibility issues in your applications.

    By addressing the alternative text issue, you not only resolve the error but also improve the overall user experience for individuals using assistive technologies.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author