Wikidata:Property proposal/text alt

From Wikidata
Jump to navigation Jump to search

alt attribute[edit]

Originally proposed at Wikidata:Property proposal/Generic

   Not done
Descriptionqualifier to specify alternative text (alt text) that is to be rendered when the element to which it is applied cannot be rendered. For the legend, use P2096 instead.
Representsalt attribute (Q1067764)
Data typeMonolingual text
Template parameter« image », « blason » for w:fr:Infobox Biographie2
Exampleno alternative anymore for this
Planned usequalifier only
See alsomedia legend (P2096)
Motivation
Français : Cette propriété est nécessaire, notamment, pour les infobox important des données de Wikidata. En effet, les personnes utilisant Wikipédia sans images (notamment, les personnes ne bénéficiant que d'une faible connectivité à l'Internet ou les aveugles) ne peuvent pas bénéficier d'une description de l'image qu'elle ne voit pas dans ces infobox important des images de Wikidata. Contrainte : qualifier pour les propriétés du type de données Commons media uniquement.
English: This property is needed because we use a lot of infobox importing Wikidata properties on our wikis. For now, peoples navigating without images (peoples with low Internet connectivity or blind peoples) can't access a description of the missing images in these infobox. Constraint: qualifier to be used for properties with commonsMedia datatype only.

Simon Villeneuve (talk) 13:48, 23 February 2017 (UTC)[reply]

Discussion
Black and white photography of a smiling black man with a white hat and a dark jacket holding a trombone in front of him with his both hands with wood wall behind.
w:en:Al Grey by William P. Gottlieb (1980s)
  • The description text does depend on context but context is partly given. If the Al Grey picture is stored on the item for Al Grey as the main image the context is clear enough that describing the wall behind him is besides the point. ChristianKl (talk) 21:46, 24 February 2017 (UTC)[reply]
  •  Weak oppose with current name/description. The description and name of the property should make clear of what it's about and how it is supposed to be used. ChristianKl (talk) 21:32, 23 February 2017 (UTC)[reply]
    • @ChristianKl: the World Wide Web Consortium defined in 1995 (HTML 2.0, RFC 1866) exactly and precisely how an alt attribute should be done and used. Cdlt, VIGNERON (talk) 21:41, 23 February 2017 (UTC)[reply]
      • That doesn't change anything about the fact that this property proposal currently doesn't have a satisfactory description. ChristianKl (talk) 21:42, 23 February 2017 (UTC)[reply]
        • Yes, maybe Simon Villeneuve didn't write a perfect description (errrare humanum est) but the use is very clear, there is literally hundred of thousand documents on the web describe this attribute so the scope is quite limpid. Cdlt, VIGNERON (talk) 21:46, 23 February 2017 (UTC)[reply]
          • @VIGNERON:When we decide whether or not to accept a proposal, it's about deciding whether a given proposal is up to the task of being good for modeling a problem domain. It's worth to wait till we have a good way to model a problem before we create a property. ChristianKl (talk) 07:18, 24 February 2017 (UTC)[reply]
            • @ChristianKl: the best minds of the Interent are modeling this attribute for more than 22 years now, it's even notable enough to have it's on Wikipedia article; I think it can be safely assumed that the problem is well known and that the modeling solution is good enough. But of course, if you have suggestions of improvements, don't hesitate to share them. Cdlt, VIGNERON (talk) 08:07, 24 February 2017 (UTC)[reply]
              • @VIGNERON:If you pretend that the problem that we face on Wikidata when describing this property is exactly the same that's faced by the creators of the html standard, that's a good way to get me to oppose your proposal. One of the reasons the designers of the spec choose "alt" is that it's short and thus requires little bandwith. We have different design constraints and before I support the proposal I want name and description that serves our design contraints well.
Wikidata properties have a name and a description. When it comes to making a property proposal it's important to make them as clear as possible. If this property is supposed to be used as a qualifier, look at the way other qualifiers are described. There description texts usually doesn't talk about the fact that it's a property. The description of a property is also not Wikitext but a common string. That makes the current description text unworkable.
Besides if you think there so much good work on how to model this property, could you please link to three different software packages and investigate why the choose a specific name and which description they use? Maybe there's really a best practice as far as software libraries go that don't try to minimize text length. ChristianKl (talk) 21:58, 24 February 2017 (UTC)[reply]
We show you the Moon and you speak about the finger... Simon Villeneuve (talk) 12:55, 25 February 2017 (UTC)[reply]
  •  Support A bit shocking we don't have this already. Some image suppliers may already provide it. (Though I agree with the comment up thread, that's it definitely a skill to learn how to write these). Jheald (talk) 00:02, 24 February 2017 (UTC)[reply]
  • Currently the proposal doesn't specify that it's limited to providing alt texts for images. What kind of other alt texts would it provide? Is there a good reason we don't go with the enwiki name of "alt attribute" or "alt attribute of image"? ChristianKl (talk) 07:23, 24 February 2017 (UTC)[reply]
    • « alt », « alt text » or « alt attribute » are synonyms, they are interchangeable so we can change for either one. As I added to the description of this proposal, it can be use on « every properties with commonsMedia datatype » (it will be mostly image but it's not limited to them, see the HTML rules and accessibility rules for more information). Cdlt, VIGNERON (talk) 08:03, 24 February 2017 (UTC)[reply]
  • @Graham87: for your expert advice, please. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:05, 24 February 2017 (UTC)[reply]
  •  Oppose – I came to say the same thing as Andy ... the appropriate alt text for an image depends on its context. This is described in the "Importance of context" section of Wikipedia's page about alternative text. Graham87 (talk) 12:26, 24 February 2017 (UTC)[reply]
  •  Support I just want to vote my support here - particularly with the longer name "alt attribute". I understand the context concern - but we have that generally when infoboxes are used in wiki's, a local editor can decide to override the information provided from wikidata with their own text if necessary. Context matters, but a verbal description of the image or other media can be written in a reasonably generic way that would work in most contexts. Maybe wikidata usage instructions for this property could mention this issue. ArthurPSmith (talk) 16:57, 2 March 2017 (UTC)[reply]
  •  Oppose P2096 is mainly here as Commons isn't quite ready yet, but I don't think we should expand this further.
    --- Jura 11:34, 26 March 2017 (UTC)[reply]
  •  Wait as it may be more relevant for Commons rather than Wikidata. ~nmaia d 17:05, 11 May 2017 (UTC)[reply]
  • Strong  Support This would be very useful - and I'm surprised it's not already implemented. In its most basic case of just describing what is in the image for visually impared people, it would be very useful. More complicated situations where that description needs to be adapted for different situations can come later, if needed. Thanks. Mike Peel (talk) 22:56, 3 June 2017 (UTC)[reply]
  •  Oppose. This is ambiguous, context dependant, subjective, unstructured data which is different for every language. It certaily does not belong on Wikidata. It may possibly belong on Commons. --Yair rand (talk) 00:15, 27 July 2017 (UTC)[reply]

 Not done Per comments. It might be relevant to propose it again once structured data is available on Commons.--Micru (talk) 14:28, 15 September 2017 (UTC)[reply]