You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: gtfs-realtime/proto/gtfs-realtime.proto
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -708,12 +708,10 @@ message Alert {
708
708
709
709
// TranslatedImage to be displayed along the alert text. Used to explain visually the alert effect of a detour, station closure, etc. The image must enhance the understanding of the alert. Any essential information communicated within the image must also be contained in the alert text.
710
710
// The following types of images are discouraged : image containing mainly text, marketing or branded images that add no additional information.
711
-
// NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
712
711
optionalTranslatedImageimage=15;
713
712
714
713
// Text describing the appearance of the linked image in the `image` field (e.g., in case the image can't be displayed
715
714
// or the user can't see the image for accessibility reasons). See the HTML spec for alt image text - https://html.spec.whatwg.org/#alt.
716
-
// NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
Copy file name to clipboardExpand all lines: gtfs-realtime/spec/en/reference.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -376,8 +376,8 @@ An alert, indicating some sort of incident in the public transit network.
376
376
|**tts_header_text**|[TranslatedString](#message-translatedstring)| Optional | One | Text containing the alert's header to be used for text-to-speech implementations. This field is the text-to-speech version of header_text. It should contain the same information as header_text but formatted such that it can read as text-to-speech (for example, abbreviations removed, numbers spelled out, etc.) |
377
377
|**tts_description_text**|[TranslatedString](#message-translatedstring)| Optional | One | Text containing a description for the alert to be used for text-to-speech implementations. This field is the text-to-speech version of description_text. It should contain the same information as description_text but formatted such that it can be read as text-to-speech (for example, abbreviations removed, numbers spelled out, etc.) |
378
378
|**severity_level**|[SeverityLevel](#enum-severitylevel)| Optional | One | Severity of the alert. |
379
-
|**image**|[TranslatedImage](#message-translatedimage)| Optional | One | TranslatedImage to be displayed along the alert text. Used to explain visually the alert effect of a detour, station closure, etc. The image should enhance the understanding of the alert and must not be the only location of essential information. The following types of images are discouraged : image containing mainly text, marketing or branded images that add no additional information. <br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future. |
380
-
|**image_alternative_text**|[TranslatedString](#message-translatedstring)| Optional | One | Text describing the appearance of the linked image in the `image` field (e.g., in case the image can't be displayed or the user can't see the image for accessibility reasons). See the HTML [spec for alt image text](https://html.spec.whatwg.org/#alt). <br><br>**Caution:** this field is still **experimental**, and subject to change. It may be formally adopted in the future. |
379
+
|**image**|[TranslatedImage](#message-translatedimage)| Optional | One | TranslatedImage to be displayed along the alert text. Used to explain visually the alert effect of a detour, station closure, etc. The image should enhance the understanding of the alert and must not be the only location of essential information. The following types of images are discouraged : image containing mainly text, marketing or branded images that add no additional information. |
380
+
|**image_alternative_text**|[TranslatedString](#message-translatedstring)| Optional | One | Text describing the appearance of the linked image in the `image` field (e.g., in case the image can't be displayed or the user can't see the image for accessibility reasons). See the HTML [spec for alt image text](https://html.spec.whatwg.org/#alt). |
381
381
382
382
383
383
## _enum_ Cause
@@ -589,8 +589,6 @@ A localized string mapped to a language.
589
589
590
590
An internationalized message containing per-language versions of an image. One of the images from a message will be picked up. The resolution proceeds as follows: If the UI language matches the language code of a translation, the first matching translation is picked. If a default UI language (e.g., English) matches the language code of a translation, the first matching translation is picked. If some translation has an unspecified language code, that translation is picked.
591
591
592
-
**Caution:** this message is still **experimental**, and subject to change. It may be formally adopted in the future.
0 commit comments