Do you have any question about this error?
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
[0021] The button-like link object shall have a custom text (as
alternative text), which clearly identifies the target of the link.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
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.
Error message extract from SAP system. Copyright SAP SE.
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:
To resolve this error, you should ensure that all button-like link objects have appropriate alternative text. Here are the steps to do this:
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.
Add Alternative Text:
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
}
});
text
attribute of the button is set correctly in the view or controller.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.
Accessibility Review: Conduct a broader accessibility review of your application to ensure that all interactive elements are properly labeled and accessible.
By addressing the alternative text issue, you not only resolve the error but also improve the overall user experience for individuals using assistive technologies.
Get instant SAP help. Start your 7-day free trial now.
FPCHKACC020
&1&2&3&4 Barcode may have wrong Screen Reader precedence
What causes this issue? [0020] Generally barcodes should not have an alternative text since the Screen Reader will read this alternative text out ins...
FPCHKACC018
&1&2&3&4 Space used for formatting text
What causes this issue? [0018] Do not use spaces between letters to emphasize a text. Use suitable formatting instead.System Response The system iss...
FPCHKACC022
&1&2&3&4 Insufficient luminosity contrast ratio
What causes this issue? [0022] Text and its background does not have the luminosity contrast ratio of at least 5:1. The evaluated ratio is currently ...
FPCHKACC023
&1&2&3&4 The background color in use is not allowed
What causes this issue? [0023] Only background color with 'Solid' type should be used to avoid luminosity contrast issues in forms. The use...
Click on this link to search all SAP messages.