-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]-[658]:Add Alt-Text property for Image widget #13383
Comments
@GreenFlux how is Alt-text relevant to all the widgets, I see the use case for image widget only right now |
+1 it should only be for image widgets |
Assuming the people that faced error with the image URL might have found the ALT-text helpful Stats
|
Actually, I'm requesting an alternative text to be displayed for ANY widget, when that widget is set to hidden. Since that leaves an empty place on the canvas, this seems like the ideal place to display a message about why any type of widget has been hidden. I'm suggesting that this feature could also be used for images- in the more traditional alt-text way, but really it's for all widgets when they have been hidden by a JS condition and we want to provide a message to the user it its place. Perhaps calling it alt-text is confusing. Maybe this should be called 'Hidden Message' instead. But I think this feature would be useful for all widgets, which is my primary request. The use of this text as an image's alt-text is more of an added bonus for this feature. Use Cases:
The empty space on the canvas is the most logical place to display a message about why a widget has been hidden, but we can't stack widgets. If we had a property to provide an alternative text it its place then any hidden widget could inform the user of what conditions are causing the feature to be disabled. |
@GreenFlux web apps don't usually have hidden messages right? The request seems more like a patch because of the whitespace that is occupied when actually we should simply solve the problem that if a widget is not visible, it should not take up space. What do you think? |
Yes, that would address the issue as well. I actually considered requesting that instead, but I thought that displaying text in place of the hidden widget would be easier than having other widgets adjust their size and position when another widget is hidden. But if moving other widgets is a feasible fix on your end, that would work as well. |
@GreenFlux yes we're working on enabling that as part of the dynamic height project |
I would like to contribute a PR which adds an "alt" text property to the image widget (with tests). @Nikhil-Nandagopal |
Add the alt attribute as a new widget property Fixes [appsmithorg#13383](appsmithorg#13383)
Add tests. Fixes [appsmithorg#13383](appsmithorg#13383)
Is there an existing issue for this?
Summary
This feature request is for an
Alt-Text
property for all widgets, which will display when the widget's visibility is set to hidden. The value could also be used to provide Alt-Text to the browser for Image widgets, and improve Appsmith's accessibility.Why should this be worked on?
When a widget is set to hidden, the canvas is empty in that area and nothing else can be displayed in its place to communicate to the user why a certain feature/function is missing in their app. Another widget can be used to display a message to the user, but since widgets can't be stacked it just takes up more 'real estate' in the page. The empty space from the hidden widget would be the ideal place for this type of message to the user.
The text was updated successfully, but these errors were encountered: